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.001097/0.001097, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001424/0.001424, allocations: 177 kB / 24.08 MB, free: 416 kB / 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.9366/0.9366, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.815/1.815, allocations: 377.9 MB / 0.624 GB, free: 8.379 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.674e-06/1.674e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.626e-05, allocations: 2.312 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006796/0.006822, allocations: 4.903 MB / 0.8168 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1288/0.1356, allocations: 143.9 MB / 0.9573 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008659/0.1365, allocations: 23.81 kB / 0.9573 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006729/0.1371, allocations: 214.1 kB / 0.9575 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.1384, allocations: 0.59 MB / 0.9581 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.1399, allocations: 0.888 MB / 0.959 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0009359/0.1408, allocations: 1.529 MB / 0.9605 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005147/0.1413, allocations: 440.6 kB / 0.9609 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007069/0.142, allocations: 0.8419 MB / 0.9617 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.1424, allocations: 418.8 kB / 0.9621 GB, free: 7.191 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1425, allocations: 124 kB / 0.9622 GB, free: 7.07 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005452/0.143, allocations: 499.3 kB / 0.9627 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.1432, allocations: 322.9 kB / 0.963 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.1435, allocations: 418.9 kB / 0.9634 GB, free: 5.855 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.1447, allocations: 1.308 MB / 0.9647 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1447, allocations: 0 / 0.9647 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1447, allocations: 0 / 0.9647 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.1447, allocations: 0 / 0.9647 GB, free: 4.543 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.001401/0.1461, allocations: 1.601 MB / 0.9662 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1461, allocations: 8.031 kB / 0.9662 GB, free: 2.883 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009146/0.147, allocations: 395.3 kB / 0.9666 GB, free: 2.496 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006694/0.1477, allocations: 0.7305 MB / 0.9673 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.1477, allocations: 78.12 kB / 0.9674 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.534e-05/0.1478, allocations: 100 kB / 0.9675 GB, free: 1.562 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007495/0.1486, allocations: 0.9439 MB / 0.9684 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1486, allocations: 0 / 0.9684 GB, free: 0.5273 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.1486, allocations: 40 kB / 0.9685 GB, free: 500 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.1487, allocations: 24 kB / 0.9685 GB, free: 476 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000656/0.1493, allocations: 0.7079 MB / 0.9692 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.1516, allocations: 2.211 MB / 0.9713 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.1526, allocations: 0.5188 MB / 0.9718 GB, free: 12.97 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.1528, allocations: 163.1 kB / 0.972 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.915e-05/0.1529, allocations: 56.81 kB / 0.9721 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.1533, allocations: 490.6 kB / 0.9725 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 2.424e-06/0.1533, allocations: 0 / 0.9725 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.001237/0.1545, allocations: 0.7845 MB / 0.9733 GB, free: 11.44 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.1546, allocations: 204.8 kB / 0.9735 GB, free: 11.19 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.1549, allocations: 0.5539 MB / 0.974 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.155, allocations: 49.7 kB / 0.9741 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1552, allocations: 487.8 kB / 0.9745 GB, free: 10.08 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.1554, allocations: 309.4 kB / 0.9748 GB, free: 9.777 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.1555, allocations: 188.2 kB / 0.975 GB, free: 9.586 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1557, allocations: 0.574 MB / 0.9756 GB, free: 9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1558, allocations: 113.9 kB / 0.9757 GB, free: 8.891 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.1561, allocations: 365.7 kB / 0.976 GB, free: 8.48 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003514/0.1564, allocations: 347 kB / 0.9764 GB, free: 8.129 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1564, allocations: 0 / 0.9764 GB, free: 8.129 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0007908/0.1572, allocations: 0.6333 MB / 0.977 GB, free: 7.48 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1572, allocations: 8 kB / 0.977 GB, free: 7.473 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1572, allocations: 3.984 kB / 0.977 GB, free: 7.469 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004091/0.1576, allocations: 127.6 kB / 0.9771 GB, free: 7.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003624/0.158, allocations: 187.7 kB / 0.9773 GB, free: 7.156 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.1593, allocations: 1.871 MB / 0.9791 GB, free: 5.168 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.1595, allocations: 75.59 kB / 0.9792 GB, free: 5.094 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.1596, allocations: 31.97 kB / 0.9792 GB, free: 5.062 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.0001829/0.1597, allocations: 219 kB / 0.9794 GB, free: 4.84 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.1598, allocations: 115.4 kB / 0.9795 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009719/0.1608, allocations: 0.8224 MB / 0.9803 GB, free: 3.883 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.1608, allocations: 12 kB / 0.9804 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1608, allocations: 0 / 0.9804 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1608, allocations: 3.984 kB / 0.9804 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.1623, allocations: 1.503 MB / 0.9818 GB, free: 2.316 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1623, allocations: 0 / 0.9818 GB, free: 2.316 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002955/0.1626, allocations: 163.7 kB / 0.982 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003072/0.1629, allocations: 115.6 kB / 0.9821 GB, free: 2.039 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.163, allocations: 31.91 kB / 0.9821 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009512/0.1639, allocations: 1.887 MB / 0.984 GB, free: 4 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1639, allocations: 0 / 0.984 GB, free: 4 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008204/0.1647, allocations: 0.8413 MB / 0.9848 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002099/0.165, allocations: 195.1 kB / 0.985 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.483e-05/0.165, allocations: 24 kB / 0.985 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.1652, allocations: 40.03 kB / 0.985 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.1653, allocations: 84.8 kB / 0.9851 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.1654, allocations: 27.97 kB / 0.9851 GB, free: 14.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003587/0.1657, allocations: 362.9 kB / 0.9855 GB, free: 14.42 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1657, allocations: 3.938 kB / 0.9855 GB, free: 14.42 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00052/0.1662, allocations: 363 kB / 0.9858 GB, free: 14.06 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.001125/0.1674, allocations: 0.6254 MB / 0.9864 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006511/0.168, allocations: 0.6288 MB / 0.9871 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.168, allocations: 0 / 0.9871 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.1684, allocations: 469.1 kB / 0.9875 GB, free: 12.48 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.169, allocations: 320.9 kB / 0.9878 GB, free: 12.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.1709, allocations: 1.584 MB / 0.9894 GB, free: 10.56 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.171, allocations: 199.1 kB / 0.9896 GB, free: 10.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003726/0.1714, allocations: 202.9 kB / 0.9897 GB, free: 10.14 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/0.1719, allocations: 369.9 kB / 0.9901 GB, free: 9.777 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/0.1719, allocations: 0 / 0.9901 GB, free: 9.777 MB / 0.948 GB Notification: Performance of Templates: time 0.01906/0.191, allocations: 17.2 MB / 1.007 GB, free: 8.918 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.7081882720813155]