Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002523/0.002523, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.571/1.571, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.911/2.911, allocations: 437 MB / 0.7101 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 63.91 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7062/0.7082, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007282/0.7155, allocations: 4.807 MB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.191/0.9066, allocations: 148.4 MB / 1.166 GB, free: 8.996 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.9076, allocations: 11.94 kB / 1.166 GB, free: 8.984 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006832/0.9083, allocations: 146.9 kB / 1.167 GB, free: 8.84 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.911, allocations: 485.4 kB / 1.167 GB, free: 8.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.9137, allocations: 0.7401 MB / 1.168 GB, free: 7.633 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00225/0.916, allocations: 1.362 MB / 1.169 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.9171, allocations: 0.5791 MB / 1.17 GB, free: 5.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008972/0.918, allocations: 486.3 kB / 1.17 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007253/0.9187, allocations: 497.8 kB / 1.171 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.9189, allocations: 112 kB / 1.171 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.92, allocations: 463.6 kB / 1.171 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.9203, allocations: 283.1 kB / 1.171 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005978/0.921, allocations: 0.5519 MB / 1.172 GB, free: 3.309 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.9232, allocations: 1.566 MB / 1.173 GB, free: 1.738 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.9232, allocations: 4 kB / 1.173 GB, free: 1.734 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9232, allocations: 0 / 1.173 GB, free: 1.734 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.9233, allocations: 0 / 1.173 GB, free: 1.734 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002969/0.9262, allocations: 1.411 MB / 1.175 GB, free: 268 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.9263, allocations: 8.031 kB / 1.175 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009962/0.9273, allocations: 187.4 kB / 1.175 GB, free: 72 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.9286, allocations: 0.7383 MB / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.9287, allocations: 62 kB / 1.176 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.9288, allocations: 83.97 kB / 1.176 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.9306, allocations: 0.9067 MB / 1.177 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.9306, allocations: 0 / 1.177 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-05/0.9307, allocations: 35.94 kB / 1.177 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.9308, allocations: 20 kB / 1.177 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.9328, allocations: 1.097 MB / 1.178 GB, free: 13.05 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.004562/0.9373, allocations: 2.677 MB / 1.18 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.939, allocations: 0.8613 MB / 1.181 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005668/0.9396, allocations: 302.6 kB / 1.182 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.9397, allocations: 36.59 kB / 1.182 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000955/0.9407, allocations: 491 kB / 1.182 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.515e-06/0.9407, allocations: 0 / 1.182 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.003466/0.9442, allocations: 1.178 MB / 1.183 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.9443, allocations: 196.6 kB / 1.183 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009153/0.9453, allocations: 0.6252 MB / 1.184 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/0.9454, allocations: 41.7 kB / 1.184 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.9458, allocations: 388.4 kB / 1.184 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002507/0.946, allocations: 260.3 kB / 1.185 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.9463, allocations: 158.5 kB / 1.185 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000239/0.9465, allocations: 386.7 kB / 1.185 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000566/0.9471, allocations: 269.8 kB / 1.186 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.9478, allocations: 359.1 kB / 1.186 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.9489, allocations: 0.5994 MB / 1.186 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.9489, allocations: 0 / 1.186 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002125/0.9511, allocations: 0.837 MB / 1.187 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.9511, allocations: 8 kB / 1.187 GB, free: 3.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.9511, allocations: 4.062 kB / 1.187 GB, free: 3.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006468/0.9518, allocations: 84.86 kB / 1.187 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.9525, allocations: 159.7 kB / 1.188 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.9549, allocations: 1.639 MB / 1.189 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008403/0.9557, allocations: 92.8 kB / 1.189 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.509e-05/0.9558, allocations: 31.97 kB / 1.189 GB, free: 0.9805 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005612/0.9564, allocations: 271.4 kB / 1.189 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.9566, allocations: 75.06 kB / 1.19 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.9592, allocations: 1.054 MB / 1.191 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.9592, allocations: 8 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.9592, allocations: 8 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.9592, allocations: 7.922 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/0.9627, allocations: 1.907 MB / 1.192 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9627, allocations: 0 / 1.192 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.9633, allocations: 143.8 kB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/0.9638, allocations: 76.72 kB / 1.193 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.097e-05/0.9639, allocations: 23.98 kB / 1.193 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002154/0.966, allocations: 1.654 MB / 1.194 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.966, allocations: 0 / 1.194 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.9682, allocations: 0.9843 MB / 1.195 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004116/0.9686, allocations: 271.7 kB / 1.196 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.9687, allocations: 24.14 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007056/0.9695, allocations: 67.91 kB / 1.196 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.9696, allocations: 68.91 kB / 1.196 GB, free: 10.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.9697, allocations: 35.97 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00063/0.9704, allocations: 447 kB / 1.196 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9704, allocations: 0 / 1.196 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001028/0.9714, allocations: 319.2 kB / 1.196 GB, free: 9.301 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002017/0.9734, allocations: 0.6075 MB / 1.197 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002509/0.9759, allocations: 1.019 MB / 1.198 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.976, allocations: 0 / 1.198 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001/0.977, allocations: 0.5119 MB / 1.199 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.9783, allocations: 302.8 kB / 1.199 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.9816, allocations: 2.02 MB / 1.201 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.9823, allocations: 1.015 MB / 1.202 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008625/0.9832, allocations: 266.5 kB / 1.202 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.9835, allocations: 111.4 kB / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of SimCode: time 2.474e-06/0.9835, allocations: 0 / 1.202 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of Templates: time 0.02919/1.013, allocations: 14.84 MB / 1.217 GB, free: 4.91 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches