Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.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.000934/0.000934, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.00144/0.00144, allocations: 177 kB / 23.36 MB, free: 1.133 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 1.093/1.093, allocations: 177.1 MB / 203.8 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.429/2.429, allocations: 438.8 MB / 0.6826 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.[0-9,]+.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.[0-9,]+.|com.PMV",fileNamePrefix="Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.546e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003391/0.003416, allocations: 2.269 MB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1382/0.1416, allocations: 145.9 MB / 0.9832 GB, free: 9.547 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.1418, allocations: 3.938 kB / 0.9832 GB, free: 9.543 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009247/0.1427, allocations: 0.7755 MB / 0.984 GB, free: 8.766 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007862/0.1435, allocations: 0.5295 MB / 0.9845 GB, free: 8.234 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000806/0.1443, allocations: 338.4 kB / 0.9848 GB, free: 7.902 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006568/0.145, allocations: 0.5964 MB / 0.9854 GB, free: 7.305 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1452, allocations: 54.86 kB / 0.9855 GB, free: 7.25 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.1462, allocations: 459.9 kB / 0.9859 GB, free: 6.836 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004812/0.1467, allocations: 432 kB / 0.9863 GB, free: 6.414 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.1468, allocations: 28 kB / 0.9863 GB, free: 6.387 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005974/0.1474, allocations: 299.4 kB / 0.9866 GB, free: 6.094 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.1475, allocations: 207.6 kB / 0.9868 GB, free: 5.891 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.1477, allocations: 131.4 kB / 0.987 GB, free: 5.762 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008347/0.1485, allocations: 0.6304 MB / 0.9876 GB, free: 5.129 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/0.1485, allocations: 0 / 0.9876 GB, free: 5.129 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1485, allocations: 0 / 0.9876 GB, free: 5.129 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.1485, allocations: 0 / 0.9876 GB, free: 5.129 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001223/0.1497, allocations: 0.9985 MB / 0.9885 GB, free: 4.102 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1498, allocations: 12.62 kB / 0.9886 GB, free: 4.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009879/0.1508, allocations: 191.6 kB / 0.9887 GB, free: 3.902 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004812/0.1513, allocations: 421.3 kB / 0.9891 GB, free: 3.465 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.1513, allocations: 12.38 kB / 0.9891 GB, free: 3.453 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.1513, allocations: 16 kB / 0.9892 GB, free: 3.438 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.1518, allocations: 277.5 kB / 0.9894 GB, free: 3.148 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1518, allocations: 0 / 0.9894 GB, free: 3.148 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.464e-05/0.1518, allocations: 4 kB / 0.9894 GB, free: 3.145 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1518, allocations: 7.938 kB / 0.9894 GB, free: 3.137 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002617/0.1521, allocations: 147 kB / 0.9896 GB, free: 2.992 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1532, allocations: 0.6735 MB / 0.9902 GB, free: 2.293 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.1537, allocations: 309.1 kB / 0.9905 GB, free: 1.969 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1538, allocations: 77.69 kB / 0.9906 GB, free: 1.887 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.1538, allocations: 4 kB / 0.9906 GB, free: 1.883 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.1541, allocations: 203.6 kB / 0.9908 GB, free: 1.664 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/0.1541, allocations: 8 kB / 0.9908 GB, free: 1.656 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.002498/0.1566, allocations: 0.5296 MB / 0.9913 GB, free: 1.113 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1566, allocations: 81.11 kB / 0.9914 GB, free: 1.016 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/0.1574, allocations: 0.8335 MB / 0.9922 GB, free: 172 kB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.1574, allocations: 37.7 kB / 0.9923 GB, free: 128 kB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1576, allocations: 202.4 kB / 0.9925 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/0.1576, allocations: 107.1 kB / 0.9926 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.1578, allocations: 65.61 kB / 0.9926 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.59e-05/0.1578, allocations: 317.9 kB / 0.9929 GB, free: 15.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.158, allocations: 54.73 kB / 0.993 GB, free: 15.38 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1581, allocations: 132.3 kB / 0.9931 GB, free: 15.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.1584, allocations: 179 kB / 0.9933 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1584, allocations: 0 / 0.9933 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001125/0.1595, allocations: 350 kB / 0.9936 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1595, allocations: 4 kB / 0.9936 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1595, allocations: 4 kB / 0.9936 GB, free: 14.68 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008273/0.1604, allocations: 195.5 kB / 0.9938 GB, free: 14.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1606, allocations: 59.89 kB / 0.9939 GB, free: 14.42 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.1626, allocations: 1.379 MB / 0.9952 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1628, allocations: 27.83 kB / 0.9952 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.1628, allocations: 20 kB / 0.9952 GB, free: 12.9 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.163, allocations: 137 kB / 0.9954 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.163, allocations: 55.94 kB / 0.9954 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/0.164, allocations: 428.6 kB / 0.9958 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.164, allocations: 4 kB / 0.9958 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.164, allocations: 0 / 0.9958 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.164, allocations: 3.984 kB / 0.9958 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.1643, allocations: 301.3 kB / 0.9961 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1643, allocations: 128 / 0.9961 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.1645, allocations: 63.89 kB / 0.9962 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006398/0.1651, allocations: 242.2 kB / 0.9964 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.1651, allocations: 11.98 kB / 0.9964 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001485/0.1666, allocations: 1.37 MB / 0.9978 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1666, allocations: 3.938 kB / 0.9978 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00089/0.1675, allocations: 396.3 kB / 0.9982 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.1676, allocations: 75.31 kB / 0.9982 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.1676, allocations: 12 kB / 0.9982 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.1678, allocations: 23.92 kB / 0.9983 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.1678, allocations: 27.95 kB / 0.9983 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.354e-05/0.1678, allocations: 15.98 kB / 0.9983 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002956/0.1681, allocations: 424.5 kB / 0.9987 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1681, allocations: 0 / 0.9987 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003571/0.1685, allocations: 119.9 kB / 0.9988 GB, free: 9.055 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00122/0.1697, allocations: 0.5318 MB / 0.9993 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.1702, allocations: 323.5 kB / 0.9997 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/0.1702, allocations: 8 kB / 0.9997 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.1705, allocations: 249.3 kB / 0.9999 GB, free: 8.152 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1708, allocations: 141.2 kB / 1 GB, free: 8.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1723, allocations: 1.178 MB / 1.001 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.1724, allocations: 188.9 kB / 1.001 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000208/0.1726, allocations: 70.92 kB / 1.001 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.1728, allocations: 127.3 kB / 1.002 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of SimCode: time 1.342e-06/0.1728, allocations: 0 / 1.002 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of Templates: time 0.0144/0.1872, allocations: 11.51 MB / 1.013 GB, free: 11.04 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.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.7810027580708265]