Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walSolAzi.verAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 116.9 kB / 16.37 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 189.7 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.3 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2519, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006093/0.258, allocations: 4.624 MB / 0.9556 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.685/0.9431, allocations: 150.7 MB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008401/0.944, allocations: 18.91 kB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005531/0.9445, allocations: 181.9 kB / 1.103 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.9463, allocations: 0.5453 MB / 1.104 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00202/0.9483, allocations: 0.8794 MB / 1.104 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.9501, allocations: 1.441 MB / 1.106 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.9512, allocations: 0.7145 MB / 1.106 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009042/0.9521, allocations: 0.5395 MB / 1.107 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000825/0.9529, allocations: 0.5714 MB / 1.108 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.9531, allocations: 138.4 kB / 1.108 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.9542, allocations: 0.521 MB / 1.108 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.9546, allocations: 336.3 kB / 1.109 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006452/0.9552, allocations: 0.6225 MB / 1.109 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/0.9578, allocations: 1.81 MB / 1.111 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.9578, allocations: 0 / 1.111 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.9578, allocations: 0 / 1.111 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.663e-05/0.9579, allocations: 0 / 1.111 GB, free: 3.887 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003131/0.961, allocations: 1.563 MB / 1.112 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.961, allocations: 14.8 kB / 1.112 GB, free: 19.05 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/0.962, allocations: 201.1 kB / 1.113 GB, free: 18.99 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.9637, allocations: 0.8192 MB / 1.113 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.029e-05/0.9638, allocations: 75.25 kB / 1.114 GB, free: 18.62 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.964, allocations: 104.2 kB / 1.114 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.9661, allocations: 1.067 MB / 1.115 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.9662, allocations: 3.938 kB / 1.115 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.9663, allocations: 45.45 kB / 1.115 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.9663, allocations: 25.42 kB / 1.115 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002393/0.9687, allocations: 1.222 MB / 1.116 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004936/0.9737, allocations: 2.879 MB / 1.119 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.9753, allocations: 0.8863 MB / 1.12 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/0.9759, allocations: 343.4 kB / 1.12 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.976, allocations: 33.61 kB / 1.12 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008899/0.9769, allocations: 0.5512 MB / 1.12 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=92): time 2.515e-06/0.9769, allocations: 1.25 kB / 1.12 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=92): time 0.003315/0.9802, allocations: 1.336 MB / 1.122 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.9803, allocations: 193.5 kB / 1.122 GB, free: 17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009328/0.9813, allocations: 0.6852 MB / 1.123 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.728e-05/0.9814, allocations: 44.8 kB / 1.123 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003116/0.9817, allocations: 442.5 kB / 1.123 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.9819, allocations: 294.3 kB / 1.123 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002741/0.9822, allocations: 187.3 kB / 1.124 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.9823, allocations: 396.5 kB / 1.124 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000572/0.9829, allocations: 299.9 kB / 1.124 GB, free: 16.11 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006617/0.9836, allocations: 409.1 kB / 1.125 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.9848, allocations: 0.6842 MB / 1.125 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.9848, allocations: 0 / 1.125 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002131/0.987, allocations: 0.9555 MB / 1.126 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.987, allocations: 4.812 kB / 1.126 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.987, allocations: 1.219 kB / 1.126 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/0.9876, allocations: 85.61 kB / 1.126 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.9884, allocations: 188.5 kB / 1.127 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001998/0.9904, allocations: 1.632 MB / 1.128 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009059/0.9913, allocations: 107 kB / 1.128 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.829e-05/0.9914, allocations: 48.73 kB / 1.128 GB, free: 14.41 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005201/0.9919, allocations: 284.3 kB / 1.129 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.9921, allocations: 95.62 kB / 1.129 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/0.9947, allocations: 1.221 MB / 1.13 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.9947, allocations: 9.281 kB / 1.13 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.9947, allocations: 1.781 kB / 1.13 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.9948, allocations: 9.641 kB / 1.13 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.9959, allocations: 1.009 MB / 1.131 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.996, allocations: 1.469 kB / 1.131 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.9966, allocations: 165.9 kB / 1.131 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004113/0.997, allocations: 72.78 kB / 1.131 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/0.9971, allocations: 29.62 kB / 1.131 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.9989, allocations: 1.666 MB / 1.133 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9989, allocations: 3.938 kB / 1.133 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/1.001, allocations: 1.043 MB / 1.134 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/1.001, allocations: 294.8 kB / 1.134 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/1.002, allocations: 27.38 kB / 1.134 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/1.002, allocations: 67.28 kB / 1.134 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/1.002, allocations: 83.17 kB / 1.134 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-05/1.003, allocations: 43.23 kB / 1.134 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006448/1.003, allocations: 498.7 kB / 1.135 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.003, allocations: 1.438 kB / 1.135 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001079/1.004, allocations: 360.4 kB / 1.135 GB, free: 11.96 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001333/1.006, allocations: 0.62 MB / 1.136 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001718/1.007, allocations: 0.9337 MB / 1.137 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.007, allocations: 1.125 kB / 1.137 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/1.008, allocations: 0.5743 MB / 1.137 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.009, allocations: 303.6 kB / 1.137 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/1.013, allocations: 1.957 MB / 1.139 GB, free: 10.69 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/1.014, allocations: 1.071 MB / 1.14 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008608/1.015, allocations: 281.3 kB / 1.141 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/1.015, allocations: 117.7 kB / 1.141 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of SimCode: time 1.062e-06/1.015, allocations: 0 / 1.141 GB, free: 9.887 MB / 0.8731 GB Notification: Performance of Templates: time 0.02625/1.041, allocations: 16.36 MB / 1.157 GB, free: 4.418 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches