Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PMVRef.y.1.|com.PMV",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 183.3 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.687/1.687, allocations: 223.2 MB / 0.7949 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 102.7 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004377, allocations: 11.47 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3523, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.256/4.608, allocations: 1.732 GB / 2.955 GB, free: 287.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/4.609, allocations: 79.95 kB / 2.955 GB, free: 287.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1158/4.724, allocations: 55.17 MB / 3.009 GB, free: 231.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.855e-06/4.724, allocations: 0 / 3.009 GB, free: 231.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000117/4.725, allocations: 12 kB / 3.009 GB, free: 231.8 MB / 1.167 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.003342/4.728, allocations: 1.05 MB / 3.01 GB, free: 230.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.986e-05/4.728, allocations: 8.031 kB / 3.01 GB, free: 230.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/4.73, allocations: 190.8 kB / 3.01 GB, free: 230.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/4.732, allocations: 0.5346 MB / 3.01 GB, free: 230 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/4.732, allocations: 12.38 kB / 3.01 GB, free: 229.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/4.732, allocations: 23.89 kB / 3.01 GB, free: 229.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/4.734, allocations: 335.2 kB / 3.011 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/4.734, allocations: 0 / 3.011 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/4.734, allocations: 12 kB / 3.011 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/4.734, allocations: 4 kB / 3.011 GB, free: 229.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/4.736, allocations: 364.6 kB / 3.011 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/4.739, allocations: 1.21 MB / 3.012 GB, free: 227.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/4.741, allocations: 417.4 kB / 3.013 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/4.741, allocations: 8 kB / 3.013 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/4.742, allocations: 310.1 kB / 3.013 GB, free: 227.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 3.036e-06/4.742, allocations: 3.938 kB / 3.013 GB, free: 227.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.01304/4.755, allocations: 1.225 MB / 3.014 GB, free: 225.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/4.755, allocations: 85.05 kB / 3.014 GB, free: 225.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/4.757, allocations: 1.228 MB / 3.015 GB, free: 224.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/4.757, allocations: 29.7 kB / 3.015 GB, free: 224.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/4.757, allocations: 368.5 kB / 3.016 GB, free: 224.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/4.757, allocations: 94.64 kB / 3.016 GB, free: 224.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.247e-05/4.757, allocations: 8 kB / 3.016 GB, free: 224.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.405e-05/4.757, allocations: 325.9 kB / 3.016 GB, free: 223.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006342/4.758, allocations: 175.9 kB / 3.016 GB, free: 223.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006219/4.759, allocations: 233.9 kB / 3.017 GB, free: 223.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/4.759, allocations: 197.3 kB / 3.017 GB, free: 223.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/4.759, allocations: 0 / 3.017 GB, free: 223.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004219/4.764, allocations: 0.7234 MB / 3.017 GB, free: 222.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/4.764, allocations: 8 kB / 3.018 GB, free: 222.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/4.764, allocations: 0 / 3.018 GB, free: 222.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/4.765, allocations: 184.6 kB / 3.018 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/4.765, allocations: 59.91 kB / 3.018 GB, free: 222.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008027/4.773, allocations: 2.178 MB / 3.02 GB, free: 219.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/4.774, allocations: 47.86 kB / 3.02 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/4.774, allocations: 19.98 kB / 3.02 GB, free: 219.8 MB / 1.167 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 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004487/4.774, allocations: 293.7 kB / 3.02 GB, free: 219.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/4.775, allocations: 82.97 kB / 3.02 GB, free: 219.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004689/4.779, allocations: 0.8486 MB / 3.021 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/4.779, allocations: 4 kB / 3.021 GB, free: 218.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/4.779, allocations: 3.953 kB / 3.021 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/4.779, allocations: 3.984 kB / 3.021 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/4.78, allocations: 0.6521 MB / 3.022 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/4.78, allocations: 0 / 3.022 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003183/4.78, allocations: 59.91 kB / 3.022 GB, free: 217.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/4.781, allocations: 184.6 kB / 3.022 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.653e-05/4.781, allocations: 15.98 kB / 3.022 GB, free: 217.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007801/4.789, allocations: 2.181 MB / 3.024 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/4.789, allocations: 0 / 3.024 GB, free: 215.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00467/4.794, allocations: 0.8021 MB / 3.025 GB, free: 214.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/4.795, allocations: 235.8 kB / 3.025 GB, free: 214.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/4.795, allocations: 11.94 kB / 3.025 GB, free: 214.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/4.795, allocations: 31.97 kB / 3.025 GB, free: 214.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/4.795, allocations: 23.97 kB / 3.025 GB, free: 214.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/4.795, allocations: 28.03 kB / 3.025 GB, free: 214.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001276/4.797, allocations: 0.987 MB / 3.026 GB, free: 213.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.51e-07/4.797, allocations: 4 kB / 3.026 GB, free: 213.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008103/4.798, allocations: 211.9 kB / 3.026 GB, free: 212.9 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001765/4.799, allocations: 0.925 MB / 3.027 GB, free: 212.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001833/4.801, allocations: 0.5724 MB / 3.028 GB, free: 211.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/4.801, allocations: 0 / 3.028 GB, free: 211.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009529/4.802, allocations: 382.4 kB / 3.028 GB, free: 211.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000697/4.803, allocations: 111.4 kB / 3.028 GB, free: 211 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/4.806, allocations: 1.874 MB / 3.03 GB, free: 209.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/4.806, allocations: 0.9929 MB / 3.031 GB, free: 208.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000456/4.807, allocations: 134.7 kB / 3.031 GB, free: 208 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/4.807, allocations: 55.36 kB / 3.031 GB, free: 207.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.313e-06/4.807, allocations: 0 / 3.031 GB, free: 207.9 MB / 1.167 GB Notification: Performance of Templates: time 0.02386/4.831, allocations: 19 MB / 3.05 GB, free: 189 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","../files/Buildings_9_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches