Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009963/0.0009963, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 165.6 kB / 24.87 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9488/0.9488, allocations: 177.2 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.907/1.907, allocations: 377.9 MB / 0.6247 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.476e-05, allocations: 5.984 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.005009/0.005034, allocations: 4.913 MB / 0.8176 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1281/0.1331, allocations: 143.9 MB / 0.9581 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008905/0.134, allocations: 23.81 kB / 0.9581 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.1347, allocations: 210.1 kB / 0.9583 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.1366, allocations: 0.5939 MB / 0.9589 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.1384, allocations: 0.8841 MB / 0.9597 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001564/0.14, allocations: 1.529 MB / 0.9612 GB, free: 8.918 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007609/0.1407, allocations: 444.6 kB / 0.9617 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00123/0.142, allocations: 0.842 MB / 0.9625 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005646/0.1425, allocations: 410.7 kB / 0.9629 GB, free: 7.223 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.1427, allocations: 124 kB / 0.963 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009473/0.1436, allocations: 0.4954 MB / 0.9635 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.1439, allocations: 314.9 kB / 0.9638 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.1443, allocations: 418.9 kB / 0.9642 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.146, allocations: 1.312 MB / 0.9654 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.146, allocations: 0 / 0.9654 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.222e-06/0.146, allocations: 0 / 0.9654 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.829e-05/0.146, allocations: 7.938 kB / 0.9655 GB, free: 4.562 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002307/0.1483, allocations: 1.589 MB / 0.967 GB, free: 2.922 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1483, allocations: 8.031 kB / 0.967 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.1498, allocations: 395.2 kB / 0.9674 GB, free: 2.527 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009877/0.1508, allocations: 0.7267 MB / 0.9681 GB, free: 1.773 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.1508, allocations: 78.12 kB / 0.9682 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.1509, allocations: 100 kB / 0.9683 GB, free: 1.598 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.152, allocations: 0.9595 MB / 0.9692 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1521, allocations: 0 / 0.9692 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.1521, allocations: 39.98 kB / 0.9692 GB, free: 0.5078 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.1522, allocations: 24 kB / 0.9693 GB, free: 496 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009718/0.1531, allocations: 0.7079 MB / 0.97 GB, free: 15.77 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/0.1563, allocations: 2.201 MB / 0.9721 GB, free: 13.53 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.1574, allocations: 0.5283 MB / 0.9726 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.1579, allocations: 162.5 kB / 0.9728 GB, free: 12.83 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.147e-05/0.158, allocations: 36.97 kB / 0.9728 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005307/0.1585, allocations: 490.6 kB / 0.9733 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 2.706e-06/0.1585, allocations: 0 / 0.9733 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.00173/0.1602, allocations: 0.7807 MB / 0.974 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/0.1603, allocations: 200.9 kB / 0.9742 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005069/0.1608, allocations: 0.5578 MB / 0.9748 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.1609, allocations: 49.7 kB / 0.9748 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.1612, allocations: 495.8 kB / 0.9753 GB, free: 10.12 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.1614, allocations: 301.4 kB / 0.9756 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.1616, allocations: 192.1 kB / 0.9758 GB, free: 9.625 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1618, allocations: 0.574 MB / 0.9763 GB, free: 9.039 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.162, allocations: 109.9 kB / 0.9764 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.1624, allocations: 357.7 kB / 0.9768 GB, free: 8.531 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.1629, allocations: 366.9 kB / 0.9771 GB, free: 8.16 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1629, allocations: 0 / 0.9771 GB, free: 8.16 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001132/0.164, allocations: 0.6294 MB / 0.9777 GB, free: 7.516 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1641, allocations: 4 kB / 0.9777 GB, free: 7.512 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1641, allocations: 0 / 0.9777 GB, free: 7.512 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005456/0.1646, allocations: 127.6 kB / 0.9779 GB, free: 7.383 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.1651, allocations: 187.7 kB / 0.978 GB, free: 7.199 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.1669, allocations: 1.875 MB / 0.9799 GB, free: 5.207 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/0.1673, allocations: 75.62 kB / 0.98 GB, free: 5.133 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.1673, allocations: 35.97 kB / 0.98 GB, free: 5.098 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (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.0002686/0.1676, allocations: 211 kB / 0.9802 GB, free: 4.883 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.1678, allocations: 123.4 kB / 0.9803 GB, free: 4.762 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.1692, allocations: 0.8107 MB / 0.9811 GB, free: 3.93 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.1692, allocations: 15.98 kB / 0.9811 GB, free: 3.914 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.1692, allocations: 0 / 0.9811 GB, free: 3.914 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.1692, allocations: 3.984 kB / 0.9811 GB, free: 3.91 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.1714, allocations: 1.507 MB / 0.9826 GB, free: 2.355 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1714, allocations: 0 / 0.9826 GB, free: 2.355 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.1718, allocations: 155.7 kB / 0.9827 GB, free: 2.203 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004427/0.1723, allocations: 115.6 kB / 0.9828 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.1723, allocations: 31.91 kB / 0.9829 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.1736, allocations: 1.887 MB / 0.9847 GB, free: 52 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1737, allocations: 0 / 0.9847 GB, free: 52 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.1748, allocations: 0.8452 MB / 0.9855 GB, free: 15.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.1751, allocations: 191.1 kB / 0.9857 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1752, allocations: 23.98 kB / 0.9858 GB, free: 14.97 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.1756, allocations: 39.97 kB / 0.9858 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.1757, allocations: 80.8 kB / 0.9859 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.1757, allocations: 31.98 kB / 0.9859 GB, free: 14.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000318/0.1761, allocations: 358.9 kB / 0.9862 GB, free: 14.47 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1761, allocations: 3.938 kB / 0.9862 GB, free: 14.47 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007144/0.1768, allocations: 359 kB / 0.9866 GB, free: 14.12 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001462/0.1782, allocations: 0.6367 MB / 0.9872 GB, free: 13.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008461/0.1791, allocations: 0.6288 MB / 0.9878 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1791, allocations: 0 / 0.9878 GB, free: 13 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.1795, allocations: 460.9 kB / 0.9883 GB, free: 12.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.1803, allocations: 326.1 kB / 0.9886 GB, free: 12.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.1825, allocations: 1.584 MB / 0.9901 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.1827, allocations: 203.1 kB / 0.9903 GB, free: 10.39 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0004685/0.1831, allocations: 198.8 kB / 0.9905 GB, free: 10.19 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005681/0.1837, allocations: 373.9 kB / 0.9909 GB, free: 9.82 MB / 0.948 GB Notification: Performance of SimCode: time 1.363e-06/0.1837, allocations: 0 / 0.9909 GB, free: 9.82 MB / 0.948 GB Notification: Performance of Templates: time 0.02134/0.205, allocations: 17.45 MB / 1.008 GB, free: 8.691 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.896013590041548]