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.001424/0.001424, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009656/0.0009656, allocations: 185 kB / 24.09 MB, free: 416 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.929/0.929, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.881/1.881, allocations: 377.9 MB / 0.624 GB, free: 8.426 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 2.174e-06/2.174e-06, allocations: 3.984 kB / 0.812 GB, free: 368 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.991e-05, allocations: 2.969 kB / 0.812 GB, free: 364 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002674/0.002694, allocations: 2.213 MB / 0.8141 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1236/0.1263, allocations: 143.7 MB / 0.9545 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.1266, allocations: 7.938 kB / 0.9545 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008203/0.1274, allocations: 0.7832 MB / 0.9552 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006888/0.1281, allocations: 0.5334 MB / 0.9557 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.1288, allocations: 358.4 kB / 0.9561 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0007868/0.1296, allocations: 0.5886 MB / 0.9567 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.1297, allocations: 52.91 kB / 0.9567 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000968/0.1307, allocations: 472.8 kB / 0.9572 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004064/0.1311, allocations: 0.4999 MB / 0.9577 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 5.189e-05/0.1312, allocations: 24 kB / 0.9577 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.1316, allocations: 287.5 kB / 0.958 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1318, allocations: 191.6 kB / 0.9581 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1319, allocations: 135.4 kB / 0.9583 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000665/0.1325, allocations: 0.6305 MB / 0.9589 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1326, allocations: 0 / 0.9589 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1326, allocations: 0 / 0.9589 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.1326, allocations: 3.938 kB / 0.9589 GB, free: 9.453 MB / 0.8698 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.001236/0.1338, allocations: 1.174 MB / 0.96 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1338, allocations: 11.97 kB / 0.96 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007536/0.1346, allocations: 227.1 kB / 0.9603 GB, free: 8.004 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.135, allocations: 428.1 kB / 0.9607 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.135, allocations: 20.36 kB / 0.9607 GB, free: 7.535 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.135, allocations: 20 kB / 0.9607 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.1354, allocations: 276.1 kB / 0.961 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1354, allocations: 0 / 0.961 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.1354, allocations: 4 kB / 0.961 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.537e-06/0.1355, allocations: 11.94 kB / 0.961 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.1357, allocations: 153.4 kB / 0.9611 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.1367, allocations: 0.9924 MB / 0.9621 GB, free: 6.035 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003811/0.1371, allocations: 258.2 kB / 0.9623 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1372, allocations: 95.25 kB / 0.9624 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.1372, allocations: 12 kB / 0.9624 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.1374, allocations: 208.2 kB / 0.9626 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.1374, allocations: 0 / 0.9626 GB, free: 5.418 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002089/0.1395, allocations: 0.6431 MB / 0.9633 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1396, allocations: 88.98 kB / 0.9634 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/0.1403, allocations: 0.9365 MB / 0.9643 GB, free: 3.707 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.1403, allocations: 33.7 kB / 0.9643 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.1406, allocations: 455.1 kB / 0.9647 GB, free: 3.219 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.873e-05/0.1407, allocations: 103.1 kB / 0.9648 GB, free: 3.117 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1408, allocations: 67.31 kB / 0.9649 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002633/0.1411, allocations: 0.4926 MB / 0.9654 GB, free: 2.543 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.1412, allocations: 59.94 kB / 0.9654 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.1413, allocations: 153.2 kB / 0.9656 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.1415, allocations: 193.1 kB / 0.9658 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1415, allocations: 4 kB / 0.9658 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001014/0.1426, allocations: 441.2 kB / 0.9662 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1426, allocations: 4 kB / 0.9662 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1426, allocations: 4.312 kB / 0.9662 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007496/0.1433, allocations: 195.5 kB / 0.9664 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.1435, allocations: 59.91 kB / 0.9664 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.1457, allocations: 1.943 MB / 0.9683 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.1459, allocations: 31.81 kB / 0.9684 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.1459, allocations: 11.98 kB / 0.9684 GB, free: 15.29 MB / 0.8855 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.0001756/0.1461, allocations: 185 kB / 0.9686 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.1461, allocations: 103.4 kB / 0.9687 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.1472, allocations: 0.4966 MB / 0.9691 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1472, allocations: 4 kB / 0.9691 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1472, allocations: 4 kB / 0.9692 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1472, allocations: 7.922 kB / 0.9692 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.1476, allocations: 379.8 kB / 0.9695 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1476, allocations: 0 / 0.9695 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.1477, allocations: 55.91 kB / 0.9696 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005863/0.1483, allocations: 195.5 kB / 0.9698 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.1483, allocations: 19.97 kB / 0.9698 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001832/0.1502, allocations: 1.932 MB / 0.9717 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1502, allocations: 11.92 kB / 0.9717 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009673/0.1511, allocations: 0.5031 MB / 0.9722 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.1512, allocations: 79.31 kB / 0.9722 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.1513, allocations: 11.94 kB / 0.9723 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.1514, allocations: 19.98 kB / 0.9723 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.1514, allocations: 31.89 kB / 0.9723 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.1515, allocations: 19.97 kB / 0.9723 GB, free: 11.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003536/0.1518, allocations: 0.5769 MB / 0.9729 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1518, allocations: 0 / 0.9729 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003505/0.1522, allocations: 119.8 kB / 0.973 GB, free: 10.36 MB / 0.8855 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.0009325/0.1531, allocations: 418.7 kB / 0.9734 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004816/0.1536, allocations: 406.5 kB / 0.9738 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1536, allocations: 8.062 kB / 0.9738 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.1538, allocations: 326.2 kB / 0.9741 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1542, allocations: 131.4 kB / 0.9742 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.1556, allocations: 1.197 MB / 0.9754 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.1557, allocations: 185 kB / 0.9756 GB, free: 7.762 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001732/0.1559, allocations: 74.81 kB / 0.9756 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.1561, allocations: 162.1 kB / 0.9758 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of SimCode: time 1.383e-06/0.1561, allocations: 0 / 0.9758 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of Templates: time 0.01394/0.17, allocations: 11.63 MB / 0.9872 GB, free: 12.05 MB / 0.9011 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.27250638930127]