Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001109/0.001109, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001599/0.001599, allocations: 169 kB / 24.28 MB, free: 280 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.9161/0.9161, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.731/1.731, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 3.938 kB / 0.787 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.193e-05, allocations: 4.75 kB / 0.787 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003124/0.003156, allocations: 2.227 MB / 0.7892 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.138, allocations: 146.2 MB / 0.932 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.1382, allocations: 11.94 kB / 0.932 GB, free: 7.957 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.000906/0.1391, allocations: 0.7793 MB / 0.9327 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0007727/0.1399, allocations: 0.5217 MB / 0.9332 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008602/0.1408, allocations: 354.4 kB / 0.9336 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00056/0.1413, allocations: 0.6003 MB / 0.9342 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1415, allocations: 48.91 kB / 0.9342 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.1425, allocations: 474.1 kB / 0.9347 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004635/0.1429, allocations: 0.4999 MB / 0.9352 GB, free: 4.73 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.143, allocations: 27.94 kB / 0.9352 GB, free: 4.703 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.1435, allocations: 283.5 kB / 0.9355 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.1437, allocations: 203.6 kB / 0.9356 GB, free: 4.227 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1438, allocations: 135.4 kB / 0.9358 GB, free: 4.094 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0007797/0.1446, allocations: 0.6265 MB / 0.9364 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1446, allocations: 0 / 0.9364 GB, free: 3.465 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1446, allocations: 3.938 kB / 0.9364 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.1446, allocations: 4 kB / 0.9364 GB, free: 3.457 MB / 0.8855 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.001268/0.1458, allocations: 1.163 MB / 0.9375 GB, free: 2.254 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1459, allocations: 8.031 kB / 0.9375 GB, free: 2.246 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000815/0.1467, allocations: 223.1 kB / 0.9377 GB, free: 2.027 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.1471, allocations: 436.1 kB / 0.9382 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.1472, allocations: 16.38 kB / 0.9382 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.1472, allocations: 20 kB / 0.9382 GB, free: 1.539 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.1477, allocations: 296.1 kB / 0.9385 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1477, allocations: 7.938 kB / 0.9385 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.1477, allocations: 4 kB / 0.9385 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.1477, allocations: 7.938 kB / 0.9385 GB, free: 1.211 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.148, allocations: 208.7 kB / 0.9387 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.1493, allocations: 1.125 MB / 0.9398 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.1498, allocations: 282.4 kB / 0.9401 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.1499, allocations: 115.2 kB / 0.9402 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.1499, allocations: 7.984 kB / 0.9402 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.1502, allocations: 228.1 kB / 0.9404 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.1502, allocations: 0 / 0.9404 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30): time 0.002447/0.1527, allocations: 0.7009 MB / 0.9411 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.1527, allocations: 81.11 kB / 0.9412 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006937/0.1534, allocations: 0.9721 MB / 0.9421 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.535e-05/0.1534, allocations: 33.7 kB / 0.9421 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.1537, allocations: 455.2 kB / 0.9426 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.837e-05/0.1538, allocations: 99.17 kB / 0.9427 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.1539, allocations: 75.19 kB / 0.9427 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.154, allocations: 0.4887 MB / 0.9432 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1541, allocations: 79.94 kB / 0.9433 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.1543, allocations: 202 kB / 0.9435 GB, free: 11.89 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.1546, allocations: 225.8 kB / 0.9437 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1546, allocations: 0 / 0.9437 GB, free: 11.65 MB / 0.9011 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001108/0.1557, allocations: 476.2 kB / 0.9442 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.1557, allocations: 4 kB / 0.9442 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1557, allocations: 8.062 kB / 0.9442 GB, free: 11.16 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007721/0.1565, allocations: 195.5 kB / 0.9444 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1567, allocations: 63.89 kB / 0.9444 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/0.1588, allocations: 1.95 MB / 0.9463 GB, free: 8.828 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.159, allocations: 39.84 kB / 0.9464 GB, free: 8.789 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.595e-05/0.159, allocations: 15.97 kB / 0.9464 GB, free: 8.773 MB / 0.9011 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.0001873/0.1592, allocations: 181 kB / 0.9466 GB, free: 8.586 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.1593, allocations: 95.44 kB / 0.9466 GB, free: 8.492 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.1606, allocations: 0.5437 MB / 0.9472 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1606, allocations: 8 kB / 0.9472 GB, free: 7.926 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1606, allocations: 7.938 kB / 0.9472 GB, free: 7.918 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1606, allocations: 0 / 0.9472 GB, free: 7.918 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/0.161, allocations: 0.5069 MB / 0.9477 GB, free: 7.379 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.161, allocations: 8 kB / 0.9477 GB, free: 7.371 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.1612, allocations: 51.97 kB / 0.9477 GB, free: 7.32 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006536/0.1618, allocations: 199.4 kB / 0.9479 GB, free: 7.121 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.362e-05/0.1619, allocations: 15.97 kB / 0.9479 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.1637, allocations: 1.95 MB / 0.9499 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1637, allocations: 0 / 0.9499 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.1648, allocations: 0.5502 MB / 0.9504 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 8.006e-05/0.1649, allocations: 75.31 kB / 0.9505 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.165, allocations: 15.94 kB / 0.9505 GB, free: 4.359 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.1651, allocations: 23.98 kB / 0.9505 GB, free: 4.336 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/0.1652, allocations: 27.94 kB / 0.9505 GB, free: 4.309 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.1652, allocations: 19.98 kB / 0.9505 GB, free: 4.289 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004782/0.1657, allocations: 0.6278 MB / 0.9512 GB, free: 3.668 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1657, allocations: 0 / 0.9512 GB, free: 3.668 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000421/0.1661, allocations: 127.8 kB / 0.9513 GB, free: 3.543 MB / 0.9011 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.0009774/0.1671, allocations: 419.3 kB / 0.9517 GB, free: 3.273 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0007428/0.1679, allocations: 441.9 kB / 0.9521 GB, free: 2.82 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1679, allocations: 4 kB / 0.9521 GB, free: 2.816 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.1682, allocations: 345.5 kB / 0.9524 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.1686, allocations: 136.9 kB / 0.9526 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.1705, allocations: 1.212 MB / 0.9537 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.1706, allocations: 185 kB / 0.9539 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002204/0.1708, allocations: 86.78 kB / 0.954 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/0.1709, allocations: 36.48 kB / 0.954 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of SimCode: time 1.292e-06/0.1709, allocations: 0 / 0.954 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of Templates: time 0.01464/0.1856, allocations: 10.86 MB / 0.9646 GB, free: 6.012 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.28977980511263]