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.001304/0.001304, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001358/0.001358, 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 0.9544/0.9544, allocations: 177.2 MB / 204.6 MB, free: 5.496 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 1.815/1.815, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.643e-06/1.643e-06, allocations: 0 / 0.76 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.703e-05, allocations: 8.219 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003664/0.003691, allocations: 2.217 MB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1312/0.1349, allocations: 145.9 MB / 0.9046 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.135, allocations: 7.938 kB / 0.9046 GB, free: 2.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007329/0.1358, allocations: 0.7716 MB / 0.9053 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006993/0.1365, allocations: 0.5334 MB / 0.9059 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.1372, allocations: 350.4 kB / 0.9062 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006591/0.1379, allocations: 0.5964 MB / 0.9068 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.138, allocations: 54.86 kB / 0.9068 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009515/0.139, allocations: 461.6 kB / 0.9073 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004273/0.1394, allocations: 436 kB / 0.9077 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 4.26e-05/0.1394, allocations: 24 kB / 0.9077 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.1399, allocations: 291.4 kB / 0.908 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.14, allocations: 199.6 kB / 0.9082 GB, free: 14.59 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1401, allocations: 135.4 kB / 0.9083 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007027/0.1408, allocations: 0.6226 MB / 0.9089 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1409, allocations: 4 kB / 0.9089 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1409, allocations: 0 / 0.9089 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.1409, allocations: 4 kB / 0.9089 GB, free: 13.82 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.001019/0.1419, allocations: 1.003 MB / 0.9099 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1419, allocations: 12.03 kB / 0.9099 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006159/0.1425, allocations: 163.6 kB / 0.9101 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.1429, allocations: 413.3 kB / 0.9105 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.1429, allocations: 16.38 kB / 0.9105 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.143, allocations: 23.94 kB / 0.9105 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1433, allocations: 274.5 kB / 0.9108 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1433, allocations: 0 / 0.9108 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.1433, allocations: 8 kB / 0.9108 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1433, allocations: 11.88 kB / 0.9108 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.1435, allocations: 139 kB / 0.9109 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.1444, allocations: 0.6774 MB / 0.9116 GB, free: 11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.1447, allocations: 309.2 kB / 0.9119 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.555e-05/0.1448, allocations: 81.67 kB / 0.9119 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1448, allocations: 4 kB / 0.9119 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.145, allocations: 211.6 kB / 0.9121 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.383e-06/0.145, allocations: 0 / 0.9121 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.001817/0.1468, allocations: 0.5241 MB / 0.9127 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.1469, allocations: 81.11 kB / 0.9127 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.1474, allocations: 0.8335 MB / 0.9136 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.1474, allocations: 37.69 kB / 0.9136 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1475, allocations: 206.3 kB / 0.9138 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.435e-05/0.1476, allocations: 103.1 kB / 0.9139 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.622e-05/0.1477, allocations: 69.48 kB / 0.914 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.828e-05/0.1478, allocations: 318 kB / 0.9143 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.1478, allocations: 54.8 kB / 0.9143 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.148, allocations: 128.2 kB / 0.9144 GB, free: 7.938 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.1481, allocations: 174.7 kB / 0.9146 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1481, allocations: 4.031 kB / 0.9146 GB, free: 7.746 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0008032/0.1489, allocations: 343.5 kB / 0.9149 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.149, allocations: 8 kB / 0.9149 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.149, allocations: 4 kB / 0.9149 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.1496, allocations: 187.5 kB / 0.9151 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1497, allocations: 59.91 kB / 0.9152 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.1512, allocations: 1.374 MB / 0.9165 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.1514, allocations: 31.89 kB / 0.9165 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.1514, allocations: 19.95 kB / 0.9166 GB, free: 5.613 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.0001357/0.1516, allocations: 136.5 kB / 0.9167 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/0.1516, allocations: 47.94 kB / 0.9167 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/0.1525, allocations: 428.2 kB / 0.9171 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1525, allocations: 8 kB / 0.9172 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1525, allocations: 0 / 0.9172 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1526, allocations: 0 / 0.9172 GB, free: 4.984 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.1528, allocations: 301.7 kB / 0.9174 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1528, allocations: 0 / 0.9174 GB, free: 4.672 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.153, allocations: 55.84 kB / 0.9175 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006134/0.1536, allocations: 242.3 kB / 0.9177 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.1536, allocations: 11.97 kB / 0.9177 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.1552, allocations: 1.375 MB / 0.9191 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1552, allocations: 0 / 0.9191 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008201/0.156, allocations: 396.8 kB / 0.9195 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.1562, allocations: 83.31 kB / 0.9195 GB, free: 2.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.1562, allocations: 12 kB / 0.9196 GB, free: 2.383 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1563, allocations: 23.92 kB / 0.9196 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.1564, allocations: 27.94 kB / 0.9196 GB, free: 2.332 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.1564, allocations: 19.97 kB / 0.9196 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002767/0.1567, allocations: 416.5 kB / 0.92 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.1567, allocations: 0 / 0.92 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003708/0.1571, allocations: 123.9 kB / 0.9201 GB, free: 1.789 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.001131/0.1582, allocations: 0.5367 MB / 0.9207 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004791/0.1587, allocations: 323 kB / 0.921 GB, free: 1.156 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/0.1587, allocations: 8 kB / 0.921 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002431/0.1589, allocations: 256.3 kB / 0.9212 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.1593, allocations: 135.4 kB / 0.9213 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1609, allocations: 1.184 MB / 0.9225 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.161, allocations: 184.9 kB / 0.9227 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000187/0.1612, allocations: 70.86 kB / 0.9227 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.1614, allocations: 139.3 kB / 0.9229 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of SimCode: time 1.433e-06/0.1614, allocations: 4 kB / 0.9229 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of Templates: time 0.01435/0.1757, allocations: 11.59 MB / 0.9342 GB, free: 3.68 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 -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.453643528278917]