Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008215/0.0008215, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001549/0.001549, allocations: 169 kB / 23.02 MB, free: 1.543 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.9915/0.9915, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.08/2.08, allocations: 429.5 MB / 0.6733 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0.7656 kB / 0.8781 GB, free: 6.395 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.375e-05, allocations: 6.25 kB / 0.8781 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003063/0.003087, allocations: 2.234 MB / 0.8803 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1307/0.1338, allocations: 146.5 MB / 1.023 GB, free: 1.176 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.134, allocations: 7.938 kB / 1.023 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0007828/0.1348, allocations: 0.7755 MB / 1.024 GB, free: 400 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0007333/0.1355, allocations: 0.5411 MB / 1.025 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007428/0.1363, allocations: 342.5 kB / 1.025 GB, free: 15.51 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006321/0.1369, allocations: 0.5964 MB / 1.026 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.1371, allocations: 56.88 kB / 1.026 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.1381, allocations: 463.8 kB / 1.026 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.1386, allocations: 0.5038 MB / 1.027 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.7e-05/0.1387, allocations: 24 kB / 1.027 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007768/0.1394, allocations: 295.4 kB / 1.027 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1396, allocations: 199.6 kB / 1.027 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1397, allocations: 135.4 kB / 1.027 GB, free: 13.29 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007638/0.1405, allocations: 0.6265 MB / 1.028 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1405, allocations: 0 / 1.028 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1405, allocations: 0 / 1.028 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.1405, allocations: 4 kB / 1.028 GB, free: 12.66 MB / 0.9948 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.001255/0.1417, allocations: 1.158 MB / 1.029 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1418, allocations: 12.03 kB / 1.029 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008791/0.1427, allocations: 243 kB / 1.029 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.1431, allocations: 436.2 kB / 1.03 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.1431, allocations: 12.38 kB / 1.03 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.1432, allocations: 23.98 kB / 1.03 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.1436, allocations: 288.2 kB / 1.03 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1436, allocations: 3.938 kB / 1.03 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.1437, allocations: 11.98 kB / 1.03 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.1437, allocations: 11.94 kB / 1.03 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002995/0.144, allocations: 196.7 kB / 1.03 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.1453, allocations: 1.133 MB / 1.031 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.1457, allocations: 281.9 kB / 1.031 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.1459, allocations: 111.3 kB / 1.032 GB, free: 8.609 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1459, allocations: 11.98 kB / 1.032 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.1462, allocations: 229.7 kB / 1.032 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 2.444e-06/0.1462, allocations: 0 / 1.032 GB, free: 8.352 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.002394/0.1486, allocations: 0.6953 MB / 1.032 GB, free: 7.645 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1486, allocations: 85.11 kB / 1.033 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007109/0.1493, allocations: 0.9721 MB / 1.033 GB, free: 6.551 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.1494, allocations: 33.7 kB / 1.034 GB, free: 6.512 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.1497, allocations: 451.3 kB / 1.034 GB, free: 6.066 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/0.1497, allocations: 107.1 kB / 1.034 GB, free: 5.961 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-05/0.1498, allocations: 71.33 kB / 1.034 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.15, allocations: 0.4887 MB / 1.035 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.1501, allocations: 79.94 kB / 1.035 GB, free: 5.309 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.1503, allocations: 173.4 kB / 1.035 GB, free: 5.109 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.1505, allocations: 227.2 kB / 1.035 GB, free: 4.867 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1505, allocations: 8 kB / 1.035 GB, free: 4.859 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00114/0.1517, allocations: 484.2 kB / 1.036 GB, free: 4.375 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1517, allocations: 4 kB / 1.036 GB, free: 4.371 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1517, allocations: 4 kB / 1.036 GB, free: 4.367 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/0.1524, allocations: 191.5 kB / 1.036 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.1526, allocations: 67.89 kB / 1.036 GB, free: 4.109 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.1547, allocations: 1.945 MB / 1.038 GB, free: 2.039 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.1549, allocations: 35.84 kB / 1.038 GB, free: 2.004 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.1549, allocations: 19.97 kB / 1.038 GB, free: 1.984 MB / 0.9948 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.0001607/0.155, allocations: 188.4 kB / 1.038 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.948e-05/0.1551, allocations: 95.44 kB / 1.038 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.1563, allocations: 0.5435 MB / 1.039 GB, free: 1.141 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1563, allocations: 11.94 kB / 1.039 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1563, allocations: 4 kB / 1.039 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1563, allocations: 3.984 kB / 1.039 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.1568, allocations: 0.4913 MB / 1.039 GB, free: 0.5938 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1568, allocations: 4.125 kB / 1.039 GB, free: 0.5898 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1569, allocations: 63.89 kB / 1.039 GB, free: 0.5273 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006591/0.1576, allocations: 199.5 kB / 1.039 GB, free: 336 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.1576, allocations: 11.98 kB / 1.039 GB, free: 324 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.1597, allocations: 1.955 MB / 1.041 GB, free: 14.24 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1597, allocations: 0 / 1.041 GB, free: 14.24 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.1608, allocations: 0.5468 MB / 1.042 GB, free: 13.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.1609, allocations: 83.31 kB / 1.042 GB, free: 13.58 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.161, allocations: 8 kB / 1.042 GB, free: 13.57 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1611, allocations: 19.98 kB / 1.042 GB, free: 13.55 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.1612, allocations: 27.95 kB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.1612, allocations: 19.97 kB / 1.042 GB, free: 13.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004798/0.1617, allocations: 0.6317 MB / 1.043 GB, free: 12.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1617, allocations: 0 / 1.043 GB, free: 12.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000393/0.1621, allocations: 115.9 kB / 1.043 GB, free: 12.77 MB / 1.01 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 (37): * Single equations (assignments): 32 * 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.0009642/0.1631, allocations: 413 kB / 1.043 GB, free: 12.49 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006601/0.1637, allocations: 441.5 kB / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1637, allocations: 0 / 1.043 GB, free: 12.04 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003346/0.1641, allocations: 362.5 kB / 1.044 GB, free: 11.66 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.1645, allocations: 128.8 kB / 1.044 GB, free: 11.54 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.1661, allocations: 1.213 MB / 1.045 GB, free: 10.29 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.1662, allocations: 189 kB / 1.045 GB, free: 10.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.1664, allocations: 78.86 kB / 1.045 GB, free: 10.01 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.1665, allocations: 44.47 kB / 1.045 GB, free: 9.969 MB / 1.01 GB Notification: Performance of SimCode: time 1.052e-06/0.1665, allocations: 0 / 1.045 GB, free: 9.969 MB / 1.01 GB Notification: Performance of Templates: time 0.3703/0.5368, allocations: 11.39 MB / 1.057 GB, free: 77.07 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.069107158109546]