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.001438/0.001438, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009701/0.0009701, allocations: 169.7 kB / 23.27 MB, free: 1.219 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.9205/0.9205, allocations: 177.1 MB / 203.7 MB, free: 5.48 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.309/2.309, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 2.414e-06/2.414e-06, allocations: 0 / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.547e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003812/0.003847, allocations: 2.214 MB / 0.8919 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1514/0.1552, allocations: 143.7 MB / 1.032 GB, free: 7.316 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1554, allocations: 7.938 kB / 1.032 GB, free: 7.309 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006622/0.156, allocations: 0.7794 MB / 1.033 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.1566, allocations: 0.5333 MB / 1.033 GB, free: 5.992 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005365/0.1571, allocations: 354.5 kB / 1.034 GB, free: 5.645 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.1575, allocations: 0.5847 MB / 1.034 GB, free: 5.059 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1577, allocations: 52.89 kB / 1.034 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007473/0.1584, allocations: 453.6 kB / 1.035 GB, free: 4.598 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.1587, allocations: 0.5038 MB / 1.035 GB, free: 4.094 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.777e-05/0.1588, allocations: 24 kB / 1.035 GB, free: 4.07 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.1591, allocations: 295.4 kB / 1.036 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.1593, allocations: 191.6 kB / 1.036 GB, free: 3.594 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.773e-05/0.1593, allocations: 135.4 kB / 1.036 GB, free: 3.461 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.1599, allocations: 0.6304 MB / 1.037 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1599, allocations: 0 / 1.037 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1599, allocations: 0 / 1.037 GB, free: 2.828 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1599, allocations: 0 / 1.037 GB, free: 2.828 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.0009749/0.1608, allocations: 1.178 MB / 1.038 GB, free: 1.609 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.1609, allocations: 12.62 kB / 1.038 GB, free: 1.598 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007437/0.1616, allocations: 243 kB / 1.038 GB, free: 1.359 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.1619, allocations: 432.2 kB / 1.038 GB, free: 0.9102 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.162, allocations: 16.38 kB / 1.038 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.162, allocations: 19.98 kB / 1.038 GB, free: 0.875 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.1623, allocations: 268.2 kB / 1.039 GB, free: 0.5938 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1623, allocations: 8 kB / 1.039 GB, free: 0.5859 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.1623, allocations: 11.92 kB / 1.039 GB, free: 0.5742 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1624, allocations: 7.938 kB / 1.039 GB, free: 0.5664 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.1625, allocations: 149.5 kB / 1.039 GB, free: 432 kB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009927/0.1635, allocations: 0.9964 MB / 1.04 GB, free: 15.39 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.1639, allocations: 248.5 kB / 1.04 GB, free: 15.12 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.164, allocations: 99.31 kB / 1.04 GB, free: 15.02 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.164, allocations: 11.92 kB / 1.04 GB, free: 15 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.1642, allocations: 216.1 kB / 1.04 GB, free: 14.77 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 1.172e-06/0.1642, allocations: 0 / 1.04 GB, free: 14.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=30): time 0.002108/0.1663, allocations: 0.6465 MB / 1.041 GB, free: 14.11 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.1663, allocations: 85.11 kB / 1.041 GB, free: 14.01 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005382/0.1669, allocations: 0.9365 MB / 1.042 GB, free: 13.06 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.1669, allocations: 33.7 kB / 1.042 GB, free: 13.02 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.1673, allocations: 455.1 kB / 1.042 GB, free: 12.57 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-05/0.1673, allocations: 103.1 kB / 1.043 GB, free: 12.47 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.1674, allocations: 75.23 kB / 1.043 GB, free: 12.39 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.1675, allocations: 0.4887 MB / 1.043 GB, free: 11.89 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.1676, allocations: 55.95 kB / 1.043 GB, free: 11.84 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.1677, allocations: 161.1 kB / 1.043 GB, free: 11.65 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1679, allocations: 201.6 kB / 1.044 GB, free: 11.43 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1679, allocations: 0 / 1.044 GB, free: 11.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009042/0.1688, allocations: 444.3 kB / 1.044 GB, free: 10.99 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1688, allocations: 7.984 kB / 1.044 GB, free: 10.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1688, allocations: 0 / 1.044 GB, free: 10.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006032/0.1694, allocations: 195.5 kB / 1.044 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1696, allocations: 59.91 kB / 1.044 GB, free: 10.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.1714, allocations: 1.93 MB / 1.046 GB, free: 8.684 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.1716, allocations: 31.83 kB / 1.046 GB, free: 8.652 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.1716, allocations: 16.3 kB / 1.046 GB, free: 8.637 MB / 1.01 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.0001205/0.1717, allocations: 181.4 kB / 1.046 GB, free: 8.449 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.689e-05/0.1718, allocations: 99.42 kB / 1.046 GB, free: 8.352 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.1728, allocations: 0.5239 MB / 1.047 GB, free: 7.812 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.1728, allocations: 4 kB / 1.047 GB, free: 7.809 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.1728, allocations: 0 / 1.047 GB, free: 7.809 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1728, allocations: 3.938 kB / 1.047 GB, free: 7.805 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003058/0.1731, allocations: 383.2 kB / 1.047 GB, free: 7.402 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1731, allocations: 7.922 kB / 1.047 GB, free: 7.395 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.1733, allocations: 55.91 kB / 1.047 GB, free: 7.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005739/0.1738, allocations: 199.5 kB / 1.048 GB, free: 7.141 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1739, allocations: 15.98 kB / 1.048 GB, free: 7.125 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.1753, allocations: 1.935 MB / 1.049 GB, free: 5.074 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1753, allocations: 7.938 kB / 1.049 GB, free: 5.066 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009474/0.1763, allocations: 0.503 MB / 1.05 GB, free: 4.531 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.1764, allocations: 83.3 kB / 1.05 GB, free: 4.449 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.154e-05/0.1764, allocations: 11.94 kB / 1.05 GB, free: 4.438 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.1765, allocations: 15.98 kB / 1.05 GB, free: 4.422 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.1766, allocations: 27.95 kB / 1.05 GB, free: 4.395 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.1766, allocations: 19.98 kB / 1.05 GB, free: 4.375 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003256/0.1769, allocations: 0.573 MB / 1.051 GB, free: 3.809 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1769, allocations: 0 / 1.051 GB, free: 3.809 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003007/0.1772, allocations: 119.9 kB / 1.051 GB, free: 3.691 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.0008717/0.1781, allocations: 405.1 kB / 1.051 GB, free: 3.434 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004389/0.1785, allocations: 421.2 kB / 1.052 GB, free: 3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.1785, allocations: 192 / 1.052 GB, free: 3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.1788, allocations: 333.7 kB / 1.052 GB, free: 2.652 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1791, allocations: 133.2 kB / 1.052 GB, free: 2.523 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.1807, allocations: 1.18 MB / 1.053 GB, free: 1.301 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.1808, allocations: 188.9 kB / 1.053 GB, free: 1.098 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001807/0.1809, allocations: 66.94 kB / 1.053 GB, free: 1.035 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.1811, allocations: 166.1 kB / 1.054 GB, free: 0.8711 MB / 1.01 GB Notification: Performance of SimCode: time 9.62e-07/0.1811, allocations: 0 / 1.054 GB, free: 0.8711 MB / 1.01 GB Notification: Performance of Templates: time 0.363/0.5442, allocations: 11.55 MB / 1.065 GB, free: 67.02 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.070275693200529]