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.001304/0.001304, allocations: 79.73 kB / 20.98 MB, free: 3.555 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.001349/0.001349, allocations: 165 kB / 24.28 MB, free: 264 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.9786/0.9786, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.896/1.896, allocations: 377.8 MB / 0.6239 GB, free: 8.527 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.373e-06/1.373e-06, allocations: 0 / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.761e-05, allocations: 5.766 kB / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004814/0.004831, allocations: 4.979 MB / 0.8164 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1262/0.131, allocations: 146.4 MB / 0.9593 GB, free: 10.24 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000755/0.1318, allocations: 23.81 kB / 0.9593 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.1323, allocations: 214.1 kB / 0.9595 GB, free: 10 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.1336, allocations: 0.5862 MB / 0.9601 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.135, allocations: 0.8842 MB / 0.961 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.1363, allocations: 1.525 MB / 0.9625 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.1369, allocations: 452.5 kB / 0.9629 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007554/0.1376, allocations: 0.8069 MB / 0.9637 GB, free: 5.727 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.138, allocations: 438.7 kB / 0.9641 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.1381, allocations: 136 kB / 0.9642 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006023/0.1387, allocations: 0.5071 MB / 0.9647 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.1389, allocations: 334.9 kB / 0.965 GB, free: 4.328 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.1392, allocations: 434.9 kB / 0.9654 GB, free: 3.902 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001157/0.1404, allocations: 1.339 MB / 0.9668 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1404, allocations: 4 kB / 0.9668 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.093e-06/0.1404, allocations: 0 / 0.9668 GB, free: 2.551 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.1404, allocations: 0 / 0.9668 GB, free: 2.551 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.001613/0.142, allocations: 1.597 MB / 0.9683 GB, free: 0.9062 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.142, allocations: 12.03 kB / 0.9683 GB, free: 0.8945 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.1431, allocations: 387.3 kB / 0.9687 GB, free: 0.5156 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007833/0.1439, allocations: 0.7403 MB / 0.9694 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.144, allocations: 82.05 kB / 0.9695 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.1441, allocations: 104 kB / 0.9696 GB, free: 15.57 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1451, allocations: 1.08 MB / 0.9707 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1451, allocations: 4 kB / 0.9707 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.1452, allocations: 44 kB / 0.9707 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.1452, allocations: 20 kB / 0.9707 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000904/0.1461, allocations: 0.8309 MB / 0.9715 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.1487, allocations: 2.384 MB / 0.9739 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.1497, allocations: 0.5782 MB / 0.9744 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.15, allocations: 186.6 kB / 0.9746 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 4.86e-05/0.15, allocations: 24.98 kB / 0.9746 GB, free: 10.25 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/0.1505, allocations: 0.5144 MB / 0.9751 GB, free: 9.684 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=90): time 1.884e-06/0.1505, allocations: 4 kB / 0.9751 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of matching and sorting (n=90): time 0.001545/0.1521, allocations: 0.8704 MB / 0.976 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/0.1521, allocations: 200.9 kB / 0.9762 GB, free: 8.559 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.1526, allocations: 0.5776 MB / 0.9767 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/0.1527, allocations: 53.7 kB / 0.9768 GB, free: 7.906 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.1529, allocations: 487.9 kB / 0.9773 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.1531, allocations: 301.4 kB / 0.9775 GB, free: 7.125 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.1532, allocations: 192.2 kB / 0.9777 GB, free: 6.93 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1534, allocations: 0.5625 MB / 0.9783 GB, free: 6.355 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.1536, allocations: 149.8 kB / 0.9784 GB, free: 6.211 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.154, allocations: 393.8 kB / 0.9788 GB, free: 5.773 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/0.1545, allocations: 419.1 kB / 0.9792 GB, free: 5.352 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1545, allocations: 0 / 0.9792 GB, free: 5.352 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001004/0.1555, allocations: 0.6919 MB / 0.9799 GB, free: 4.648 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1555, allocations: 11.94 kB / 0.9799 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1555, allocations: 0 / 0.9799 GB, free: 4.637 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004507/0.156, allocations: 123.6 kB / 0.98 GB, free: 4.512 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.1564, allocations: 183.8 kB / 0.9802 GB, free: 4.332 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.1577, allocations: 1.911 MB / 0.982 GB, free: 2.297 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.1579, allocations: 83.59 kB / 0.9821 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.158, allocations: 35.98 kB / 0.9822 GB, free: 2.18 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0002083/0.1582, allocations: 219 kB / 0.9824 GB, free: 1.953 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.1583, allocations: 119.4 kB / 0.9825 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.1595, allocations: 0.8732 MB / 0.9833 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1595, allocations: 19.94 kB / 0.9833 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.1595, allocations: 0 / 0.9833 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.1595, allocations: 7.969 kB / 0.9834 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.1614, allocations: 1.71 MB / 0.985 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1614, allocations: 3.938 kB / 0.985 GB, free: 15.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003128/0.1617, allocations: 147.8 kB / 0.9852 GB, free: 14.99 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005546/0.1623, allocations: 115.6 kB / 0.9853 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.1624, allocations: 27.97 kB / 0.9853 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.1638, allocations: 1.929 MB / 0.9872 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1638, allocations: 0 / 0.9872 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.1652, allocations: 0.9078 MB / 0.9881 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002973/0.1655, allocations: 199.1 kB / 0.9883 GB, free: 11.66 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-05/0.1656, allocations: 27.91 kB / 0.9883 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.1659, allocations: 51.95 kB / 0.9883 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.166, allocations: 72.86 kB / 0.9884 GB, free: 11.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.166, allocations: 39.97 kB / 0.9884 GB, free: 11.48 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003344/0.1664, allocations: 395 kB / 0.9888 GB, free: 11.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.1664, allocations: 0 / 0.9888 GB, free: 11.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007626/0.1671, allocations: 363 kB / 0.9892 GB, free: 10.74 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.001256/0.1684, allocations: 0.631 MB / 0.9898 GB, free: 10.28 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.1694, allocations: 0.6913 MB / 0.9905 GB, free: 9.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1694, allocations: 4 kB / 0.9905 GB, free: 9.566 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005061/0.1699, allocations: 497.2 kB / 0.9909 GB, free: 9.059 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00079/0.1707, allocations: 326.5 kB / 0.9913 GB, free: 8.762 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.1732, allocations: 1.619 MB / 0.9928 GB, free: 7.105 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.1733, allocations: 203 kB / 0.993 GB, free: 6.887 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005436/0.1738, allocations: 266.8 kB / 0.9933 GB, free: 6.621 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.174, allocations: 120.4 kB / 0.9934 GB, free: 6.504 MB / 0.948 GB Notification: Performance of SimCode: time 1.543e-06/0.174, allocations: 0 / 0.9934 GB, free: 6.504 MB / 0.948 GB Notification: Performance of Templates: time 0.01991/0.194, allocations: 16.1 MB / 1.009 GB, free: 6.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.760200164048001]