Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002013/0.002013, allocations: 193.4 kB / 16.14 MB, free: 6.719 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.336/1.336, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.91 kB / 0.8685 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6536, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006793/0.6604, allocations: 5.021 MB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1737/0.8342, allocations: 148.4 MB / 1.166 GB, free: 8.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000899/0.8352, allocations: 15.94 kB / 1.166 GB, free: 8.719 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.8359, allocations: 150.8 kB / 1.167 GB, free: 8.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.8378, allocations: 493.1 kB / 1.167 GB, free: 8.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.8399, allocations: 0.7651 MB / 1.168 GB, free: 7.332 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001757/0.8416, allocations: 1.374 MB / 1.169 GB, free: 5.953 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.8426, allocations: 0.5786 MB / 1.17 GB, free: 5.355 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008218/0.8435, allocations: 454.1 kB / 1.17 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008804/0.8444, allocations: 0.5094 MB / 1.171 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002829/0.8447, allocations: 60 kB / 1.171 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.8458, allocations: 423.6 kB / 1.171 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.8462, allocations: 251 kB / 1.171 GB, free: 3.68 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006334/0.8468, allocations: 0.5321 MB / 1.172 GB, free: 3.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.8484, allocations: 1.62 MB / 1.173 GB, free: 1.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.8484, allocations: 0 / 1.173 GB, free: 1.52 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.61e-07/0.8485, allocations: 0 / 1.173 GB, free: 1.52 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.8485, allocations: 0 / 1.173 GB, free: 1.52 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002747/0.8512, allocations: 1.503 MB / 1.175 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.8513, allocations: 8.031 kB / 1.175 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009282/0.8522, allocations: 187.3 kB / 1.175 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.8533, allocations: 0.7741 MB / 1.176 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.381e-05/0.8533, allocations: 66 kB / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.8535, allocations: 84 kB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.8551, allocations: 0.9808 MB / 1.177 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.99e-05/0.8552, allocations: 3.938 kB / 1.177 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.8553, allocations: 40 kB / 1.177 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.8553, allocations: 24 kB / 1.177 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.8572, allocations: 1.151 MB / 1.178 GB, free: 12.56 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/0.862, allocations: 2.911 MB / 1.181 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.8641, allocations: 0.9771 MB / 1.182 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005793/0.8647, allocations: 327.7 kB / 1.182 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.343e-05/0.8648, allocations: 36.62 kB / 1.182 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.866, allocations: 0.5374 MB / 1.183 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=88): time 3.397e-06/0.866, allocations: 0 / 1.183 GB, free: 7.621 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88): time 0.003762/0.8698, allocations: 1.298 MB / 1.184 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.8699, allocations: 188.9 kB / 1.184 GB, free: 6.07 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009102/0.8708, allocations: 0.6566 MB / 1.185 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.872e-05/0.8709, allocations: 45.7 kB / 1.185 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.8712, allocations: 412.4 kB / 1.185 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.8715, allocations: 283.9 kB / 1.186 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.8718, allocations: 186.5 kB / 1.186 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002404/0.872, allocations: 386.8 kB / 1.186 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005906/0.8726, allocations: 285.8 kB / 1.186 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007352/0.8734, allocations: 395.1 kB / 1.187 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.8746, allocations: 0.6516 MB / 1.187 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8746, allocations: 0 / 1.187 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002136/0.8768, allocations: 0.9189 MB / 1.188 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.8768, allocations: 6.438 kB / 1.188 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.8768, allocations: 4 kB / 1.188 GB, free: 1.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.8774, allocations: 76.78 kB / 1.188 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/0.8782, allocations: 187.7 kB / 1.189 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.8802, allocations: 1.52 MB / 1.19 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008686/0.8811, allocations: 103.4 kB / 1.19 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.708e-05/0.8812, allocations: 39.97 kB / 1.19 GB, free: 15.75 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.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 (104): * Single equations (assignments): 103 * 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.0004909/0.8817, allocations: 280.3 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.8819, allocations: 90.88 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002646/0.8846, allocations: 1.199 MB / 1.192 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.8846, allocations: 11.94 kB / 1.192 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8846, allocations: 4 kB / 1.192 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.8846, allocations: 7.969 kB / 1.192 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/0.8881, allocations: 2.09 MB / 1.194 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8882, allocations: 3.938 kB / 1.194 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006668/0.8888, allocations: 167.8 kB / 1.194 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005206/0.8894, allocations: 80.77 kB / 1.194 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.8895, allocations: 31.97 kB / 1.194 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.8916, allocations: 1.548 MB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.8916, allocations: 0 / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/0.8939, allocations: 1.094 MB / 1.197 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.8943, allocations: 283.7 kB / 1.197 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.8944, allocations: 23.98 kB / 1.197 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/0.8952, allocations: 83.83 kB / 1.197 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.8954, allocations: 84.83 kB / 1.197 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.093e-05/0.8955, allocations: 35.97 kB / 1.197 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006202/0.8961, allocations: 479 kB / 1.198 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8961, allocations: 0 / 1.198 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001037/0.8972, allocations: 343.3 kB / 1.198 GB, free: 7.582 MB / 0.9512 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,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * 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.001457/0.8986, allocations: 0.6214 MB / 1.199 GB, free: 7.137 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.9005, allocations: 0.9015 MB / 1.199 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.9005, allocations: 4 kB / 1.199 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.9016, allocations: 0.5627 MB / 1.2 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.9028, allocations: 288.3 kB / 1.2 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.9062, allocations: 2.196 MB / 1.202 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.9069, allocations: 1.044 MB / 1.203 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008798/0.9078, allocations: 275 kB / 1.204 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.9081, allocations: 119.4 kB / 1.204 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of SimCode: time 1.773e-06/0.9081, allocations: 4 kB / 1.204 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of Templates: time 0.02643/0.9345, allocations: 15.41 MB / 1.219 GB, free: 2.438 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches