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.597/1.597, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 188.3 kB / 316.3 MB, free: 3.227 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.812/1.812, allocations: 205.3 MB / 0.5671 GB, free: 15.77 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.0008343/0.0008345, allocations: 92.5 kB / 0.6714 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.784e-05/1.784e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2878, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.725/8.013, allocations: 2.193 GB / 3.078 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/8.014, allocations: 83.95 kB / 3.078 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1122/8.126, allocations: 54.54 MB / 3.131 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.466e-06/8.126, allocations: 3.938 kB / 3.131 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.513e-05/8.126, allocations: 23.94 kB / 3.131 GB, free: 125.1 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.001601/8.128, allocations: 0.9037 MB / 3.132 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/8.128, allocations: 8.031 kB / 3.132 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/8.129, allocations: 190.8 kB / 3.132 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008972/8.13, allocations: 0.5231 MB / 3.133 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/8.13, allocations: 8 kB / 3.133 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/8.13, allocations: 12 kB / 3.133 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005042/8.131, allocations: 280.5 kB / 3.133 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/8.131, allocations: 282.9 kB / 3.133 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/8.131, allocations: 4 kB / 3.133 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/8.131, allocations: 3.984 kB / 3.133 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/8.131, allocations: 4 kB / 3.133 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/8.133, allocations: 1.156 MB / 3.135 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005053/8.134, allocations: 353.5 kB / 3.135 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/8.134, allocations: 169.7 kB / 3.135 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/8.134, allocations: 0 / 3.135 GB, free: 121.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003919/8.134, allocations: 272.8 kB / 3.135 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/8.134, allocations: 0 / 3.135 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002936/8.137, allocations: 0.6209 MB / 3.136 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/8.137, allocations: 81.11 kB / 3.136 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/8.139, allocations: 1.165 MB / 3.137 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/8.139, allocations: 29.7 kB / 3.137 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/8.139, allocations: 364.5 kB / 3.137 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.109e-05/8.14, allocations: 94.66 kB / 3.138 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/8.14, allocations: 4 kB / 3.138 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.558e-05/8.14, allocations: 318 kB / 3.138 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/8.14, allocations: 135.9 kB / 3.138 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/8.14, allocations: 197.8 kB / 3.138 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/8.14, allocations: 159.9 kB / 3.138 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/8.14, allocations: 0 / 3.138 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002614/8.143, allocations: 0.626 MB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/8.143, allocations: 9.875 kB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/8.143, allocations: 0 / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004756/8.144, allocations: 124.8 kB / 3.139 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/8.144, allocations: 59.91 kB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/8.148, allocations: 1.798 MB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/8.148, allocations: 35.83 kB / 3.141 GB, free: 114.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.758e-05/8.148, allocations: 16.11 kB / 3.141 GB, free: 114.8 MB / 0.8698 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 () * 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.0001623/8.148, allocations: 122.1 kB / 3.141 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/8.149, allocations: 90.91 kB / 3.141 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/8.151, allocations: 0.7391 MB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/8.151, allocations: 7.938 kB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/8.151, allocations: 4 kB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/8.152, allocations: 3.984 kB / 3.142 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006983/8.152, allocations: 0.606 MB / 3.142 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/8.152, allocations: 0 / 3.142 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/8.153, allocations: 55.91 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/8.153, allocations: 124.7 kB / 3.143 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/8.153, allocations: 7.984 kB / 3.143 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/8.156, allocations: 1.791 MB / 3.144 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/8.156, allocations: 0 / 3.144 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/8.159, allocations: 0.7047 MB / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/8.159, allocations: 231.9 kB / 3.145 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.932e-05/8.159, allocations: 7.984 kB / 3.145 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/8.16, allocations: 27.94 kB / 3.145 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/8.16, allocations: 27.95 kB / 3.145 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/8.16, allocations: 19.98 kB / 3.145 GB, free: 110 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009794/8.161, allocations: 0.9325 MB / 3.146 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.51e-07/8.161, allocations: 0 / 3.146 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008065/8.162, allocations: 203.8 kB / 3.146 GB, free: 108.9 MB / 0.8698 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) * 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.001882/8.164, allocations: 0.9482 MB / 3.147 GB, free: 108 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008484/8.165, allocations: 497.8 kB / 3.148 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/8.165, allocations: 0 / 3.148 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004518/8.165, allocations: 325.5 kB / 3.148 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006525/8.166, allocations: 109.2 kB / 3.148 GB, free: 107.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/8.168, allocations: 1.377 MB / 3.15 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/8.168, allocations: 0.9888 MB / 3.151 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003703/8.168, allocations: 127.1 kB / 3.151 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/8.169, allocations: 51.33 kB / 3.151 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of SimCode: time 4.71e-07/8.169, allocations: 0 / 3.151 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.02375/8.192, allocations: 14.1 MB / 3.165 GB, free: 90.39 MB / 0.8698 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