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.001353/0.001353, 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.001583/0.001583, allocations: 169.3 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.9435/0.9435, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.853/1.853, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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.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 4.348e-06/4.348e-06, allocations: 3.984 kB / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.464e-05, allocations: 4.984 kB / 0.8115 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002713/0.002737, allocations: 2.221 MB / 0.8136 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.1352, allocations: 146.2 MB / 0.9564 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.1354, allocations: 7.938 kB / 0.9564 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1366, allocations: 0.7755 MB / 0.9572 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007664/0.1374, allocations: 0.5334 MB / 0.9577 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008262/0.1382, allocations: 346.4 kB / 0.958 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.1388, allocations: 0.5964 MB / 0.9586 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.139, allocations: 56.88 kB / 0.9586 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009457/0.14, allocations: 458.6 kB / 0.9591 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.1404, allocations: 0.4999 MB / 0.9596 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.1404, allocations: 28 kB / 0.9596 GB, free: 9.992 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.1409, allocations: 291.4 kB / 0.9599 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.141, allocations: 199.6 kB / 0.9601 GB, free: 9.512 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1411, allocations: 131.4 kB / 0.9602 GB, free: 9.383 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007203/0.1419, allocations: 0.6304 MB / 0.9608 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1419, allocations: 0 / 0.9608 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1419, allocations: 0 / 0.9608 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.1419, allocations: 0 / 0.9608 GB, free: 8.75 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001313/0.1432, allocations: 1.167 MB / 0.9619 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1432, allocations: 8.031 kB / 0.962 GB, free: 7.535 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/0.144, allocations: 223.1 kB / 0.9622 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004342/0.1445, allocations: 444 kB / 0.9626 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.1445, allocations: 16.36 kB / 0.9626 GB, free: 6.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.1445, allocations: 20 kB / 0.9626 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004586/0.145, allocations: 284.2 kB / 0.9629 GB, free: 6.523 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.145, allocations: 4 kB / 0.9629 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.145, allocations: 8 kB / 0.9629 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1451, allocations: 11.94 kB / 0.9629 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.1453, allocations: 196.7 kB / 0.9631 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.1466, allocations: 1.14 MB / 0.9642 GB, free: 5.121 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004777/0.1471, allocations: 286.4 kB / 0.9645 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.1473, allocations: 111.3 kB / 0.9646 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1473, allocations: 7.859 kB / 0.9646 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.1477, allocations: 232.2 kB / 0.9648 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 2.775e-06/0.1477, allocations: 0 / 0.9648 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.002544/0.1503, allocations: 0.6875 MB / 0.9655 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1503, allocations: 89.09 kB / 0.9656 GB, free: 3.641 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.151, allocations: 0.9682 MB / 0.9665 GB, free: 2.652 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.1511, allocations: 37.69 kB / 0.9666 GB, free: 2.609 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.1513, allocations: 451.2 kB / 0.967 GB, free: 2.164 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.886e-05/0.1514, allocations: 107.2 kB / 0.9671 GB, free: 2.059 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.1515, allocations: 71.31 kB / 0.9672 GB, free: 1.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.1517, allocations: 0.4887 MB / 0.9676 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1518, allocations: 71.95 kB / 0.9677 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.152, allocations: 214.4 kB / 0.9679 GB, free: 1.164 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.1523, allocations: 222.3 kB / 0.9681 GB, free: 0.9258 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.1523, allocations: 0 / 0.9681 GB, free: 0.9258 MB / 0.9167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001048/0.1533, allocations: 474.1 kB / 0.9686 GB, free: 464 kB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.1534, allocations: 8 kB / 0.9686 GB, free: 456 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1534, allocations: 0 / 0.9686 GB, free: 456 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007168/0.1541, allocations: 199.5 kB / 0.9688 GB, free: 252 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.1543, allocations: 63.89 kB / 0.9688 GB, free: 188 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.1564, allocations: 1.968 MB / 0.9708 GB, free: 14.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.1566, allocations: 31.81 kB / 0.9708 GB, free: 14.06 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.1566, allocations: 15.98 kB / 0.9708 GB, free: 14.04 MB / 0.9323 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.0001593/0.1568, allocations: 180.4 kB / 0.971 GB, free: 13.86 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.1569, allocations: 103.4 kB / 0.9711 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001166/0.1581, allocations: 0.5484 MB / 0.9716 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.1581, allocations: 7.938 kB / 0.9716 GB, free: 13.19 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1581, allocations: 4 kB / 0.9716 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1581, allocations: 3.984 kB / 0.9716 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004706/0.1585, allocations: 0.4953 MB / 0.9721 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1585, allocations: 0 / 0.9721 GB, free: 12.65 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1587, allocations: 59.91 kB / 0.9722 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006357/0.1593, allocations: 195.5 kB / 0.9724 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.1594, allocations: 19.98 kB / 0.9724 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/0.1613, allocations: 1.947 MB / 0.9743 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1613, allocations: 0 / 0.9743 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.1624, allocations: 0.554 MB / 0.9748 GB, free: 9.723 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.1625, allocations: 87.3 kB / 0.9749 GB, free: 9.637 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.1625, allocations: 8 kB / 0.9749 GB, free: 9.629 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1627, allocations: 16.05 kB / 0.9749 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.589e-05/0.1627, allocations: 31.95 kB / 0.975 GB, free: 9.582 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.1628, allocations: 15.98 kB / 0.975 GB, free: 9.566 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005024/0.1633, allocations: 0.6357 MB / 0.9756 GB, free: 8.938 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.81e-07/0.1633, allocations: 0 / 0.9756 GB, free: 8.938 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004339/0.1637, allocations: 127.8 kB / 0.9757 GB, free: 8.812 MB / 0.9323 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.0009617/0.1647, allocations: 421.7 kB / 0.9761 GB, free: 8.535 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006538/0.1653, allocations: 449.8 kB / 0.9765 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1653, allocations: 0 / 0.9765 GB, free: 8.074 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003193/0.1657, allocations: 337.5 kB / 0.9769 GB, free: 7.723 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.1661, allocations: 143.7 kB / 0.977 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1682, allocations: 1.207 MB / 0.9782 GB, free: 6.336 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.1683, allocations: 189 kB / 0.9784 GB, free: 6.133 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002657/0.1686, allocations: 79.11 kB / 0.9784 GB, free: 6.055 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1687, allocations: 40.48 kB / 0.9785 GB, free: 6.016 MB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/0.1687, allocations: 0 / 0.9785 GB, free: 6.016 MB / 0.9323 GB Notification: Performance of Templates: time 0.01689/0.1856, allocations: 10.87 MB / 0.9891 GB, free: 11.29 MB / 0.948 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.522319040028378]