Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001344/0.001344, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001117/0.001117, allocations: 165 kB / 24.17 MB, free: 328 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 1.088/1.088, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.003/2.003, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PMVRef.y.[0-9,]+.|com.PMV",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.717e-05, allocations: 7.031 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002668/0.002685, allocations: 2.263 MB / 0.7622 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.1375, allocations: 145.9 MB / 0.9047 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.1376, allocations: 7.938 kB / 0.9047 GB, free: 2.121 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007983/0.1384, allocations: 0.7794 MB / 0.9054 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006098/0.139, allocations: 0.5217 MB / 0.9059 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.1395, allocations: 342.5 kB / 0.9063 GB, free: 492 kB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.14, allocations: 0.6003 MB / 0.9068 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001472/0.1401, allocations: 57.67 kB / 0.9069 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008584/0.141, allocations: 449 kB / 0.9073 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003448/0.1414, allocations: 432 kB / 0.9077 GB, free: 15 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.918e-05/0.1414, allocations: 27.94 kB / 0.9078 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.1418, allocations: 307.4 kB / 0.9081 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1419, allocations: 195.6 kB / 0.9082 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.142, allocations: 135.4 kB / 0.9084 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006157/0.1427, allocations: 0.6226 MB / 0.909 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1427, allocations: 4 kB / 0.909 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1427, allocations: 0 / 0.909 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.1427, allocations: 0 / 0.909 GB, free: 13.72 MB / 0.8698 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.0009713/0.1436, allocations: 0.9988 MB / 0.91 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1437, allocations: 12.03 kB / 0.91 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006443/0.1443, allocations: 171.6 kB / 0.9101 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.1447, allocations: 425.2 kB / 0.9105 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1447, allocations: 12.38 kB / 0.9106 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.1448, allocations: 20 kB / 0.9106 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.1451, allocations: 269.5 kB / 0.9108 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1451, allocations: 3.938 kB / 0.9108 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.1451, allocations: 12 kB / 0.9108 GB, free: 11.74 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.1451, allocations: 7.938 kB / 0.9109 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.1453, allocations: 139 kB / 0.911 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008967/0.1462, allocations: 0.6813 MB / 0.9117 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.1466, allocations: 307.8 kB / 0.9119 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.388e-05/0.1467, allocations: 77.66 kB / 0.912 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1467, allocations: 12 kB / 0.912 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002111/0.1469, allocations: 203.6 kB / 0.9122 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.774e-06/0.1469, allocations: 0 / 0.9122 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.001901/0.1488, allocations: 0.5202 MB / 0.9127 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.1488, allocations: 89.11 kB / 0.9128 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/0.1494, allocations: 0.8374 MB / 0.9136 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.1495, allocations: 37.69 kB / 0.9137 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1496, allocations: 206.3 kB / 0.9139 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.1496, allocations: 103.1 kB / 0.914 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.1497, allocations: 65.5 kB / 0.914 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.837e-05/0.1498, allocations: 318 kB / 0.9143 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-05/0.1499, allocations: 54.73 kB / 0.9144 GB, free: 7.973 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.15, allocations: 128.3 kB / 0.9145 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.1502, allocations: 174.7 kB / 0.9147 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1502, allocations: 0 / 0.9147 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008571/0.151, allocations: 351.5 kB / 0.915 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.151, allocations: 4 kB / 0.915 GB, free: 7.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.151, allocations: 8 kB / 0.915 GB, free: 7.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006693/0.1517, allocations: 187.5 kB / 0.9152 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1519, allocations: 63.89 kB / 0.9153 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001737/0.1536, allocations: 1.374 MB / 0.9166 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1538, allocations: 31.81 kB / 0.9166 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.1538, allocations: 15.98 kB / 0.9167 GB, free: 5.496 MB / 0.8698 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.000139/0.154, allocations: 136.6 kB / 0.9168 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.154, allocations: 55.94 kB / 0.9168 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000969/0.155, allocations: 432.2 kB / 0.9172 GB, free: 4.863 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.155, allocations: 4 kB / 0.9173 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.155, allocations: 4 kB / 0.9173 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.155, allocations: 0 / 0.9173 GB, free: 4.855 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.1553, allocations: 293.6 kB / 0.9175 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1553, allocations: 0 / 0.9175 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.1554, allocations: 59.91 kB / 0.9176 GB, free: 4.492 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006543/0.1561, allocations: 242.3 kB / 0.9178 GB, free: 4.25 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.1561, allocations: 15.97 kB / 0.9178 GB, free: 4.234 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.1575, allocations: 1.375 MB / 0.9192 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1575, allocations: 11.92 kB / 0.9192 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008695/0.1584, allocations: 396.8 kB / 0.9196 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.053e-05/0.1585, allocations: 79.33 kB / 0.9196 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.543e-05/0.1585, allocations: 11.98 kB / 0.9197 GB, free: 2.246 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.1586, allocations: 19.94 kB / 0.9197 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.1587, allocations: 27.94 kB / 0.9197 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.1587, allocations: 15.98 kB / 0.9197 GB, free: 2.184 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000279/0.159, allocations: 424.5 kB / 0.9201 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.159, allocations: 0 / 0.9201 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003011/0.1593, allocations: 119.9 kB / 0.9202 GB, free: 1.656 MB / 0.8698 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 (38): * Single equations (assignments): 33 * 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.001248/0.1605, allocations: 0.5361 MB / 0.9208 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.161, allocations: 331 kB / 0.9211 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.161, allocations: 12 kB / 0.9211 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.1612, allocations: 244.1 kB / 0.9213 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1616, allocations: 138.2 kB / 0.9215 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.163, allocations: 1.191 MB / 0.9226 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.1631, allocations: 185 kB / 0.9228 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000167/0.1632, allocations: 66.88 kB / 0.9229 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.1635, allocations: 135.3 kB / 0.923 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of SimCode: time 8.22e-07/0.1635, allocations: 0 / 0.923 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of Templates: time 0.01329/0.1768, allocations: 11.59 MB / 0.9343 GB, free: 3.547 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.545886527746916]