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.001399/0.001399, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001069/0.001069, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9821/0.9821, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.937/1.937, allocations: 377.8 MB / 0.6236 GB, free: 8.57 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 1.963e-06/1.963e-06, allocations: 0 / 0.8115 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.036e-05, allocations: 8.641 kB / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003624/0.003644, allocations: 2.232 MB / 0.8137 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1332/0.1368, allocations: 146.4 MB / 0.9567 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.137, allocations: 3.938 kB / 0.9567 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.1377, allocations: 0.7871 MB / 0.9575 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.1383, allocations: 0.5295 MB / 0.958 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.1388, allocations: 346.4 kB / 0.9583 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.1392, allocations: 0.6042 MB / 0.9589 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1393, allocations: 48.89 kB / 0.9589 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007906/0.1401, allocations: 469 kB / 0.9594 GB, free: 9.902 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.1405, allocations: 0.4999 MB / 0.9599 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.011e-05/0.1405, allocations: 24 kB / 0.9599 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.1409, allocations: 287.4 kB / 0.9602 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.141, allocations: 203.6 kB / 0.9604 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1411, allocations: 131.4 kB / 0.9605 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005721/0.1417, allocations: 0.6265 MB / 0.9611 GB, free: 8.141 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1417, allocations: 4 kB / 0.9611 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1417, allocations: 0 / 0.9611 GB, free: 8.137 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1417, allocations: 0 / 0.9611 GB, free: 8.137 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.001089/0.1428, allocations: 1.174 MB / 0.9623 GB, free: 6.922 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1428, allocations: 12.03 kB / 0.9623 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007277/0.1435, allocations: 219.1 kB / 0.9625 GB, free: 6.695 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.1439, allocations: 440 kB / 0.9629 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.144, allocations: 20.38 kB / 0.9629 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.144, allocations: 16 kB / 0.9629 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.1444, allocations: 296.1 kB / 0.9632 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1444, allocations: 0 / 0.9632 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.1444, allocations: 7.984 kB / 0.9632 GB, free: 5.887 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.1444, allocations: 7.938 kB / 0.9632 GB, free: 5.879 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.1447, allocations: 196.8 kB / 0.9634 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.1459, allocations: 1.14 MB / 0.9645 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/0.1463, allocations: 270.4 kB / 0.9648 GB, free: 4.211 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.1464, allocations: 119.3 kB / 0.9649 GB, free: 4.086 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.1465, allocations: 11.8 kB / 0.9649 GB, free: 4.074 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/0.1467, allocations: 224.2 kB / 0.9651 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.1467, allocations: 0 / 0.9651 GB, free: 3.832 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30): time 0.002267/0.149, allocations: 0.6936 MB / 0.9658 GB, free: 3.125 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.149, allocations: 85.05 kB / 0.9659 GB, free: 3.023 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006511/0.1497, allocations: 0.976 MB / 0.9668 GB, free: 2.027 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.1497, allocations: 33.64 kB / 0.9669 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.15, allocations: 459.2 kB / 0.9673 GB, free: 1.535 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 6.187e-05/0.15, allocations: 99.17 kB / 0.9674 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.1501, allocations: 71.33 kB / 0.9675 GB, free: 1.359 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1502, allocations: 496.4 kB / 0.9679 GB, free: 0.8672 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.1503, allocations: 75.94 kB / 0.968 GB, free: 0.793 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.1505, allocations: 210.5 kB / 0.9682 GB, free: 0.5469 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.1508, allocations: 225.1 kB / 0.9684 GB, free: 316 kB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1508, allocations: 0 / 0.9684 GB, free: 316 kB / 0.9167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001069/0.1519, allocations: 476.3 kB / 0.9689 GB, free: 15.83 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1519, allocations: 7.984 kB / 0.9689 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1519, allocations: 7.984 kB / 0.9689 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007028/0.1526, allocations: 191.5 kB / 0.9691 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000177/0.1528, allocations: 67.91 kB / 0.9691 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.1546, allocations: 1.958 MB / 0.9711 GB, free: 13.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.1548, allocations: 35.81 kB / 0.9711 GB, free: 13.44 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.1548, allocations: 11.98 kB / 0.9711 GB, free: 13.43 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.0001628/0.155, allocations: 184.9 kB / 0.9713 GB, free: 13.23 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.1551, allocations: 103.3 kB / 0.9714 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.1566, allocations: 0.5445 MB / 0.9719 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1566, allocations: 7.938 kB / 0.9719 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.1566, allocations: 0 / 0.9719 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1566, allocations: 0 / 0.9719 GB, free: 12.57 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.1572, allocations: 0.5031 MB / 0.9724 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1572, allocations: 0 / 0.9724 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.1574, allocations: 55.91 kB / 0.9725 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008032/0.1582, allocations: 195.5 kB / 0.9726 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.1582, allocations: 15.98 kB / 0.9727 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.1603, allocations: 1.955 MB / 0.9746 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1603, allocations: 0 / 0.9746 GB, free: 9.691 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001408/0.1617, allocations: 0.5618 MB / 0.9751 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.647e-05/0.1618, allocations: 79.31 kB / 0.9752 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.808e-05/0.1618, allocations: 8 kB / 0.9752 GB, free: 9.012 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.162, allocations: 24.05 kB / 0.9752 GB, free: 8.988 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.1621, allocations: 31.89 kB / 0.9753 GB, free: 8.957 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/0.1621, allocations: 15.97 kB / 0.9753 GB, free: 8.941 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000555/0.1627, allocations: 0.6357 MB / 0.9759 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1627, allocations: 0 / 0.9759 GB, free: 8.312 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00042/0.1631, allocations: 119.8 kB / 0.976 GB, free: 8.195 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.00103/0.1642, allocations: 425.5 kB / 0.9764 GB, free: 7.914 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.1648, allocations: 443.6 kB / 0.9768 GB, free: 7.461 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1648, allocations: 0 / 0.9768 GB, free: 7.461 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.1652, allocations: 345.5 kB / 0.9772 GB, free: 7.102 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.1658, allocations: 138.8 kB / 0.9773 GB, free: 6.969 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.1675, allocations: 1.211 MB / 0.9785 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.1676, allocations: 185 kB / 0.9787 GB, free: 5.516 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002167/0.1679, allocations: 79.11 kB / 0.9787 GB, free: 5.438 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.168, allocations: 40.48 kB / 0.9788 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of SimCode: time 5.01e-07/0.168, allocations: 3.938 kB / 0.9788 GB, free: 5.395 MB / 0.9323 GB Notification: Performance of Templates: time 0.01486/0.1828, allocations: 10.87 MB / 0.9894 GB, free: 10.68 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.5633759358897805]