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.001425/0.00143, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001663/0.001663, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.582/2.582, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 60.14 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6276/0.6288, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006239/0.6351, allocations: 4.807 MB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1669/0.802, allocations: 148.3 MB / 1.166 GB, free: 9.129 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009425/0.803, allocations: 15.94 kB / 1.166 GB, free: 9.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.8037, allocations: 142.8 kB / 1.166 GB, free: 8.973 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.8056, allocations: 473.3 kB / 1.167 GB, free: 8.512 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.8078, allocations: 0.717 MB / 1.167 GB, free: 7.801 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00178/0.8096, allocations: 1.269 MB / 1.169 GB, free: 6.527 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009188/0.8105, allocations: 0.5594 MB / 1.169 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006808/0.8112, allocations: 414.3 kB / 1.17 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005064/0.8117, allocations: 461.8 kB / 1.17 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.8119, allocations: 56 kB / 1.17 GB, free: 5.035 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/0.8128, allocations: 399.6 kB / 1.17 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002358/0.813, allocations: 235.1 kB / 1.171 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000487/0.8135, allocations: 0.4933 MB / 1.171 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.8151, allocations: 1.519 MB / 1.173 GB, free: 2.395 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.8151, allocations: 0 / 1.173 GB, free: 2.395 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.62e-07/0.8151, allocations: 8 kB / 1.173 GB, free: 2.387 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.8152, allocations: 0 / 1.173 GB, free: 2.387 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.002647/0.8178, allocations: 1.399 MB / 1.174 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8179, allocations: 12.03 kB / 1.174 GB, free: 0.918 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009579/0.8188, allocations: 183.4 kB / 1.174 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.8199, allocations: 0.7344 MB / 1.175 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.248e-05/0.82, allocations: 62 kB / 1.175 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.8201, allocations: 76 kB / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.8217, allocations: 0.9066 MB / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.8217, allocations: 3.938 kB / 1.176 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.892e-05/0.8218, allocations: 43.94 kB / 1.176 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.8219, allocations: 20 kB / 1.176 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.8236, allocations: 1.1 MB / 1.177 GB, free: 13.71 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.004126/0.8278, allocations: 2.665 MB / 1.18 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.8292, allocations: 0.8683 MB / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/0.8298, allocations: 302.7 kB / 1.181 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-05/0.8299, allocations: 32.59 kB / 1.181 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009/0.8308, allocations: 494.4 kB / 1.181 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.425e-06/0.8308, allocations: 0 / 1.181 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.003267/0.8341, allocations: 1.182 MB / 1.182 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.8342, allocations: 192.6 kB / 1.183 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007737/0.835, allocations: 0.6253 MB / 1.183 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.835, allocations: 37.7 kB / 1.183 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.8353, allocations: 388.4 kB / 1.184 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.8355, allocations: 260.3 kB / 1.184 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.8358, allocations: 162.5 kB / 1.184 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.8359, allocations: 382.7 kB / 1.184 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.8365, allocations: 269.9 kB / 1.185 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.8371, allocations: 363 kB / 1.185 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.8382, allocations: 0.5957 MB / 1.186 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8382, allocations: 0 / 1.186 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001988/0.8402, allocations: 0.8448 MB / 1.186 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.8403, allocations: 7.938 kB / 1.186 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.8403, allocations: 0 / 1.186 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.8409, allocations: 84.86 kB / 1.187 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/0.8416, allocations: 159.7 kB / 1.187 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.8439, allocations: 1.524 MB / 1.188 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/0.8447, allocations: 91.31 kB / 1.188 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-05/0.8448, allocations: 39.91 kB / 1.188 GB, free: 1.77 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.0004594/0.8452, allocations: 264 kB / 1.189 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.8454, allocations: 83 kB / 1.189 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/0.8478, allocations: 1.058 MB / 1.19 GB, free: 352 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.8478, allocations: 8 kB / 1.19 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.8478, allocations: 0 / 1.19 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.8478, allocations: 3.984 kB / 1.19 GB, free: 340 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003073/0.8509, allocations: 1.91 MB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.8509, allocations: 0 / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.8515, allocations: 143.8 kB / 1.192 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005509/0.8521, allocations: 88.66 kB / 1.192 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.8521, allocations: 23.97 kB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.854, allocations: 1.536 MB / 1.193 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.854, allocations: 0 / 1.193 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/0.856, allocations: 0.9882 MB / 1.194 GB, free: 11.42 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.8563, allocations: 271.7 kB / 1.195 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.8565, allocations: 16 kB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/0.8571, allocations: 69.8 kB / 1.195 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.8573, allocations: 72.83 kB / 1.195 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.8574, allocations: 35.98 kB / 1.195 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005287/0.8579, allocations: 455 kB / 1.195 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8579, allocations: 0 / 1.195 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000842/0.8588, allocations: 319.2 kB / 1.195 GB, free: 10.2 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.001345/0.8601, allocations: 0.6046 MB / 1.196 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.8617, allocations: 0.8158 MB / 1.197 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.8618, allocations: 4 kB / 1.197 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009194/0.8627, allocations: 0.5081 MB / 1.197 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.8639, allocations: 268.7 kB / 1.198 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003053/0.867, allocations: 2.025 MB / 1.2 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.8676, allocations: 1.016 MB / 1.201 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008844/0.8685, allocations: 262.6 kB / 1.201 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.8688, allocations: 111.4 kB / 1.201 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of SimCode: time 9.92e-07/0.8688, allocations: 0 / 1.201 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of Templates: time 0.02511/0.8939, allocations: 14.31 MB / 1.215 GB, free: 6.555 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=480 -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