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.001022/0.001022, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001796/0.001796, allocations: 173 kB / 23.49 MB, free: 1.059 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.9548/0.9548, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.103/2.103, allocations: 429.5 MB / 0.6736 GB, free: 4.02 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.824e-06/1.824e-06, allocations: 0 / 0.8781 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.873e-05, allocations: 2.969 kB / 0.8781 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003892/0.003921, allocations: 2.228 MB / 0.8803 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1256/0.1295, allocations: 146.2 MB / 1.023 GB, free: 1.734 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.1297, allocations: 3.938 kB / 1.023 GB, free: 1.73 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0008181/0.1305, allocations: 0.7755 MB / 1.024 GB, free: 0.9531 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009036/0.1314, allocations: 0.5334 MB / 1.024 GB, free: 428 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.1321, allocations: 350.4 kB / 1.025 GB, free: 76 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0004751/0.1325, allocations: 0.6003 MB / 1.025 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.1327, allocations: 60.27 kB / 1.025 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008816/0.1336, allocations: 459.2 kB / 1.026 GB, free: 15 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.134, allocations: 0.5077 MB / 1.026 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.134, allocations: 24 kB / 1.026 GB, free: 14.46 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.1344, allocations: 287.4 kB / 1.027 GB, free: 14.18 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.1346, allocations: 199.6 kB / 1.027 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.1347, allocations: 131.4 kB / 1.027 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.1354, allocations: 0.6343 MB / 1.027 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1354, allocations: 0 / 1.027 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.624e-06/0.1354, allocations: 0 / 1.027 GB, free: 13.22 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1354, allocations: 0 / 1.027 GB, free: 13.22 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.001137/0.1365, allocations: 1.166 MB / 1.029 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1365, allocations: 12.03 kB / 1.029 GB, free: 12 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008756/0.1374, allocations: 235 kB / 1.029 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.1378, allocations: 444.1 kB / 1.029 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.1379, allocations: 12.38 kB / 1.029 GB, free: 11.3 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1379, allocations: 24 kB / 1.029 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.1383, allocations: 288.2 kB / 1.03 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1384, allocations: 4 kB / 1.03 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.1384, allocations: 8 kB / 1.03 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.1384, allocations: 11.94 kB / 1.03 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.1387, allocations: 196.7 kB / 1.03 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1399, allocations: 1.125 MB / 1.031 GB, free: 9.594 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.1404, allocations: 288.2 kB / 1.031 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.1406, allocations: 115.3 kB / 1.031 GB, free: 9.168 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1406, allocations: 11.94 kB / 1.031 GB, free: 9.156 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.1409, allocations: 225.4 kB / 1.032 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=30): time 3.156e-06/0.1409, allocations: 0 / 1.032 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30): time 0.002447/0.1433, allocations: 0.7031 MB / 1.032 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.1434, allocations: 81.11 kB / 1.032 GB, free: 8.102 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/0.1441, allocations: 0.976 MB / 1.033 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.1442, allocations: 29.7 kB / 1.033 GB, free: 7.074 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.1444, allocations: 451.3 kB / 1.034 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.1445, allocations: 103.2 kB / 1.034 GB, free: 6.527 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.1446, allocations: 71.33 kB / 1.034 GB, free: 6.449 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1447, allocations: 496.4 kB / 1.034 GB, free: 5.957 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.1449, allocations: 75.94 kB / 1.034 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.1451, allocations: 218.4 kB / 1.035 GB, free: 5.629 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.1454, allocations: 231.4 kB / 1.035 GB, free: 5.383 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1454, allocations: 0 / 1.035 GB, free: 5.383 MB / 0.9948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001075/0.1465, allocations: 480.2 kB / 1.035 GB, free: 4.902 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1465, allocations: 7.938 kB / 1.035 GB, free: 4.895 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1465, allocations: 0 / 1.035 GB, free: 4.895 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007312/0.1472, allocations: 199.5 kB / 1.035 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.1474, allocations: 59.89 kB / 1.036 GB, free: 4.637 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.1495, allocations: 1.962 MB / 1.037 GB, free: 2.547 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1497, allocations: 35.77 kB / 1.037 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.1497, allocations: 15.98 kB / 1.038 GB, free: 2.496 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.00015/0.1498, allocations: 181.5 kB / 1.038 GB, free: 2.309 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.1499, allocations: 99.42 kB / 1.038 GB, free: 2.211 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.1514, allocations: 0.5435 MB / 1.038 GB, free: 1.656 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1514, allocations: 7.938 kB / 1.038 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1514, allocations: 0 / 1.038 GB, free: 1.648 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1514, allocations: 4 kB / 1.038 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/0.1518, allocations: 0.4953 MB / 1.039 GB, free: 1.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1518, allocations: 3.938 kB / 1.039 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.152, allocations: 55.91 kB / 1.039 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006348/0.1526, allocations: 195.5 kB / 1.039 GB, free: 0.8594 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.1527, allocations: 28.09 kB / 1.039 GB, free: 0.832 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.1544, allocations: 1.947 MB / 1.041 GB, free: 14.76 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1544, allocations: 0 / 1.041 GB, free: 14.76 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1555, allocations: 0.5536 MB / 1.042 GB, free: 14.18 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.1556, allocations: 75.31 kB / 1.042 GB, free: 14.1 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.1557, allocations: 11.98 kB / 1.042 GB, free: 14.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.1558, allocations: 16 kB / 1.042 GB, free: 14.07 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.1559, allocations: 27.94 kB / 1.042 GB, free: 14.05 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/0.1559, allocations: 19.98 kB / 1.042 GB, free: 14.03 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004577/0.1564, allocations: 0.6317 MB / 1.042 GB, free: 13.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1564, allocations: 4 kB / 1.042 GB, free: 13.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003483/0.1568, allocations: 115.9 kB / 1.042 GB, free: 13.29 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.001038/0.1578, allocations: 417.2 kB / 1.043 GB, free: 13.01 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006419/0.1584, allocations: 438.8 kB / 1.043 GB, free: 12.56 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1584, allocations: 0 / 1.043 GB, free: 12.56 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.1587, allocations: 358.5 kB / 1.044 GB, free: 12.19 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1592, allocations: 156.5 kB / 1.044 GB, free: 12.04 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1608, allocations: 1.192 MB / 1.045 GB, free: 10.81 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.1611, allocations: 188.9 kB / 1.045 GB, free: 10.61 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001912/0.1613, allocations: 74.92 kB / 1.045 GB, free: 10.54 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.778e-05/0.1614, allocations: 40.48 kB / 1.045 GB, free: 10.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.292e-06/0.1614, allocations: 0 / 1.045 GB, free: 10.5 MB / 1.01 GB Notification: Performance of Templates: time 0.3343/0.4957, allocations: 10.78 MB / 1.056 GB, free: 221.2 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.102916060946882]