Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.338/1.338, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 184.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 0.5775 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000923/0.000923, allocations: 91.86 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003608, allocations: 10.62 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2097, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.353/4.563, allocations: 2.192 GB / 3.093 GB, free: 28.44 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/4.563, allocations: 90.44 kB / 3.093 GB, free: 28.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.5527/5.116, allocations: 55.46 MB / 3.147 GB, free: 319.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.716e-06/5.116, allocations: 0 / 3.147 GB, free: 319.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001143/5.116, allocations: 15.56 kB / 3.147 GB, free: 319.1 MB / 0.8855 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.002099/5.118, allocations: 1.04 MB / 3.148 GB, free: 318.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/5.118, allocations: 7.312 kB / 3.148 GB, free: 318.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/5.12, allocations: 200.7 kB / 3.148 GB, free: 318.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/5.121, allocations: 0.5314 MB / 3.149 GB, free: 318 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/5.121, allocations: 11.25 kB / 3.149 GB, free: 318 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/5.121, allocations: 22.56 kB / 3.149 GB, free: 318 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008749/5.122, allocations: 334.2 kB / 3.149 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/5.122, allocations: 0 / 3.149 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/5.122, allocations: 11.81 kB / 3.149 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/5.122, allocations: 3.906 kB / 3.149 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/5.123, allocations: 364.4 kB / 3.149 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002358/5.126, allocations: 1.214 MB / 3.15 GB, free: 317.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/5.127, allocations: 415.7 kB / 3.151 GB, free: 317.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/5.127, allocations: 10.56 kB / 3.151 GB, free: 317.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007972/5.127, allocations: 311.2 kB / 3.151 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/5.127, allocations: 0 / 3.151 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.00923/5.137, allocations: 1.232 MB / 3.152 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/5.137, allocations: 82.42 kB / 3.152 GB, free: 317 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/5.139, allocations: 1.228 MB / 3.154 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.819e-05/5.139, allocations: 39.39 kB / 3.154 GB, free: 316.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002742/5.139, allocations: 364.9 kB / 3.154 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.893e-05/5.139, allocations: 104.7 kB / 3.154 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/5.139, allocations: 9.375 kB / 3.154 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/5.139, allocations: 316.3 kB / 3.154 GB, free: 316.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/5.14, allocations: 171.3 kB / 3.155 GB, free: 316.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/5.141, allocations: 245.5 kB / 3.155 GB, free: 316.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/5.141, allocations: 186.2 kB / 3.155 GB, free: 316.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/5.141, allocations: 0 / 3.155 GB, free: 316.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004065/5.145, allocations: 0.7241 MB / 3.156 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/5.145, allocations: 4.781 kB / 3.156 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/5.145, allocations: 3.375 kB / 3.156 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/5.146, allocations: 181.2 kB / 3.156 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/5.147, allocations: 59.94 kB / 3.156 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007409/5.154, allocations: 2.173 MB / 3.158 GB, free: 314.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/5.155, allocations: 48.66 kB / 3.158 GB, free: 314.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/5.155, allocations: 13.05 kB / 3.158 GB, free: 314.8 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 ($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.0005136/5.155, allocations: 302.4 kB / 3.158 GB, free: 314.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/5.156, allocations: 89.08 kB / 3.158 GB, free: 314.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004491/5.16, allocations: 0.8348 MB / 3.159 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/5.16, allocations: 6.281 kB / 3.159 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/5.16, allocations: 0 / 3.159 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/5.16, allocations: 7.922 kB / 3.159 GB, free: 314.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007628/5.161, allocations: 0.6528 MB / 3.16 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/5.161, allocations: 3.844 kB / 3.16 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/5.161, allocations: 57.12 kB / 3.16 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009693/5.162, allocations: 181 kB / 3.16 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/5.162, allocations: 20.75 kB / 3.16 GB, free: 314.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00725/5.17, allocations: 2.165 MB / 3.162 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/5.17, allocations: 3.625 kB / 3.162 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/5.174, allocations: 0.8077 MB / 3.163 GB, free: 312.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/5.174, allocations: 228 kB / 3.163 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/5.174, allocations: 16.03 kB / 3.163 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/5.175, allocations: 36.7 kB / 3.163 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/5.175, allocations: 32.86 kB / 3.163 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/5.175, allocations: 19.58 kB / 3.163 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001273/5.176, allocations: 0.9908 MB / 3.164 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/5.176, allocations: 0 / 3.164 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008061/5.177, allocations: 220.1 kB / 3.165 GB, free: 312.6 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 (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.001488/5.179, allocations: 0.934 MB / 3.166 GB, free: 312.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001751/5.18, allocations: 0.5719 MB / 3.166 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/5.18, allocations: 0 / 3.166 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009239/5.181, allocations: 380.3 kB / 3.166 GB, free: 312 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006792/5.182, allocations: 113.6 kB / 3.167 GB, free: 312 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/5.185, allocations: 1.872 MB / 3.168 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/5.185, allocations: 0.9917 MB / 3.169 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004731/5.186, allocations: 137.8 kB / 3.169 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/5.186, allocations: 61.67 kB / 3.17 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of SimCode: time 2.374e-06/5.186, allocations: 0 / 3.17 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.02417/5.21, allocations: 18.98 MB / 3.188 GB, free: 294.2 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches