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.454/1.454, allocations: 249.3 MB / 261.8 MB, free: 5.906 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.001066/0.001066, allocations: 178.1 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008528/0.0008533, allocations: 87.77 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.575e-05, allocations: 8 kB / 0.7879 GB, free: 97.13 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2418, allocations: 106.3 MB / 0.8918 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.991/7.233, allocations: 2.192 GB / 3.084 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/7.233, allocations: 83.95 kB / 3.084 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1107/7.344, allocations: 55.37 MB / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.433e-06/7.344, allocations: 0 / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.434e-05/7.344, allocations: 20 kB / 3.138 GB, free: 120.9 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.002122/7.346, allocations: 0.8958 MB / 3.139 GB, free: 120 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/7.346, allocations: 12.03 kB / 3.139 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/7.348, allocations: 194.7 kB / 3.139 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/7.349, allocations: 0.5153 MB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/7.349, allocations: 16.31 kB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/7.349, allocations: 23.98 kB / 3.14 GB, free: 119.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006198/7.35, allocations: 306.9 kB / 3.14 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/7.35, allocations: 4 kB / 3.14 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/7.35, allocations: 12 kB / 3.14 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/7.35, allocations: 4 kB / 3.14 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005429/7.351, allocations: 288.8 kB / 3.141 GB, free: 118.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/7.353, allocations: 1.207 MB / 3.142 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005758/7.354, allocations: 365.5 kB / 3.142 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/7.354, allocations: 181.7 kB / 3.142 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/7.354, allocations: 11.92 kB / 3.142 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/7.355, allocations: 272.8 kB / 3.143 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 2.574e-06/7.355, allocations: 0 / 3.143 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002856/7.358, allocations: 0.6229 MB / 3.143 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/7.358, allocations: 81.11 kB / 3.143 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/7.36, allocations: 1.215 MB / 3.144 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/7.36, allocations: 37.7 kB / 3.144 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/7.36, allocations: 368.6 kB / 3.145 GB, free: 114.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/7.36, allocations: 102.6 kB / 3.145 GB, free: 114 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/7.36, allocations: 4 kB / 3.145 GB, free: 114 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.87e-05/7.36, allocations: 321.9 kB / 3.145 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/7.36, allocations: 143.9 kB / 3.145 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/7.361, allocations: 197.8 kB / 3.146 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/7.361, allocations: 156.1 kB / 3.146 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/7.361, allocations: 0 / 3.146 GB, free: 113.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002716/7.364, allocations: 0.6416 MB / 3.146 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/7.364, allocations: 4 kB / 3.146 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/7.364, allocations: 0 / 3.146 GB, free: 112.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004179/7.364, allocations: 124.8 kB / 3.146 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/7.364, allocations: 63.89 kB / 3.146 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/7.368, allocations: 1.861 MB / 3.148 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/7.369, allocations: 63.55 kB / 3.148 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/7.369, allocations: 11.98 kB / 3.148 GB, free: 110.2 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.0001593/7.369, allocations: 125.4 kB / 3.148 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/7.369, allocations: 90.97 kB / 3.149 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003111/7.372, allocations: 0.7432 MB / 3.149 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/7.372, allocations: 7.938 kB / 3.149 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/7.372, allocations: 3.953 kB / 3.149 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/7.372, allocations: 7.984 kB / 3.149 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008687/7.373, allocations: 0.6523 MB / 3.15 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/7.373, allocations: 0 / 3.15 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/7.374, allocations: 59.89 kB / 3.15 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003287/7.374, allocations: 128.7 kB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/7.374, allocations: 15.97 kB / 3.15 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00369/7.378, allocations: 1.865 MB / 3.152 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/7.378, allocations: 0 / 3.152 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/7.381, allocations: 0.7233 MB / 3.153 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/7.381, allocations: 224 kB / 3.153 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/7.381, allocations: 11.98 kB / 3.153 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/7.382, allocations: 39.97 kB / 3.153 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/7.382, allocations: 23.95 kB / 3.153 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/7.382, allocations: 15.98 kB / 3.153 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00143/7.383, allocations: 0.9833 MB / 3.154 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/7.383, allocations: 0 / 3.154 GB, free: 104.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009798/7.384, allocations: 223.8 kB / 3.154 GB, free: 104.1 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.002068/7.386, allocations: 0.8791 MB / 3.155 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001086/7.387, allocations: 0.4984 MB / 3.155 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/7.387, allocations: 0 / 3.155 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005282/7.388, allocations: 342.6 kB / 3.156 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007064/7.389, allocations: 115.1 kB / 3.156 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/7.391, allocations: 1.396 MB / 3.157 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/7.392, allocations: 0.9888 MB / 3.158 GB, free: 99.85 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004592/7.392, allocations: 130.7 kB / 3.158 GB, free: 99.72 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/7.392, allocations: 59.31 kB / 3.158 GB, free: 99.66 MB / 0.8698 GB Notification: Performance of SimCode: time 8.52e-07/7.392, allocations: 0 / 3.158 GB, free: 99.66 MB / 0.8698 GB Notification: Performance of Templates: time 0.03271/7.425, allocations: 20.76 MB / 3.179 GB, free: 78.91 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