Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.449/2.449, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001017/0.001017, allocations: 179.9 kB / 0.4902 GB, free: 2.309 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.509/1.509, allocations: 223.2 MB / 0.7992 GB, free: 14.78 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.0009565/0.0009567, allocations: 99.08 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005203, allocations: 11.09 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4111, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.566/4.977, allocations: 1.733 GB / 2.962 GB, free: 218.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/4.978, allocations: 91.33 kB / 2.962 GB, free: 218.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1072/5.085, allocations: 55.17 MB / 3.016 GB, free: 171.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/5.085, allocations: 0 / 3.016 GB, free: 171.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.157e-05/5.085, allocations: 12 kB / 3.016 GB, free: 171.7 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.001558/5.086, allocations: 1.038 MB / 3.017 GB, free: 170.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/5.087, allocations: 15.97 kB / 3.017 GB, free: 170.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/5.088, allocations: 190.7 kB / 3.017 GB, free: 170.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000953/5.089, allocations: 0.5225 MB / 3.017 GB, free: 169.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/5.089, allocations: 19.31 kB / 3.017 GB, free: 169.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/5.089, allocations: 26.62 kB / 3.017 GB, free: 169.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/5.09, allocations: 340.2 kB / 3.018 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/5.09, allocations: 0 / 3.018 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/5.09, allocations: 7.812 kB / 3.018 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/5.09, allocations: 4 kB / 3.018 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/5.091, allocations: 359.2 kB / 3.018 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/5.094, allocations: 1.217 MB / 3.019 GB, free: 168.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/5.095, allocations: 421.4 kB / 3.02 GB, free: 167.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.5e-05/5.095, allocations: 7.984 kB / 3.02 GB, free: 167.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008149/5.096, allocations: 317.1 kB / 3.02 GB, free: 167.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/5.096, allocations: 4 kB / 3.02 GB, free: 167.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.009601/5.105, allocations: 1.221 MB / 3.021 GB, free: 166.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/5.105, allocations: 89.09 kB / 3.021 GB, free: 166.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/5.107, allocations: 1.223 MB / 3.023 GB, free: 165.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.108e-05/5.107, allocations: 37.2 kB / 3.023 GB, free: 165.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/5.108, allocations: 370.2 kB / 3.023 GB, free: 165.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/5.108, allocations: 96.78 kB / 3.023 GB, free: 165.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.337e-05/5.108, allocations: 3.875 kB / 3.023 GB, free: 165.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/5.108, allocations: 321.4 kB / 3.023 GB, free: 164.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/5.108, allocations: 181 kB / 3.024 GB, free: 164.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/5.109, allocations: 228.5 kB / 3.024 GB, free: 164.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/5.11, allocations: 196.9 kB / 3.024 GB, free: 164.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/5.11, allocations: 0 / 3.024 GB, free: 164.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004247/5.114, allocations: 0.7217 MB / 3.025 GB, free: 163.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/5.114, allocations: 4 kB / 3.025 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/5.114, allocations: 4 kB / 3.025 GB, free: 163.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/5.115, allocations: 170.7 kB / 3.025 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/5.115, allocations: 67.7 kB / 3.025 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007925/5.123, allocations: 2.185 MB / 3.027 GB, free: 161.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007457/5.124, allocations: 47.61 kB / 3.027 GB, free: 161.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/5.124, allocations: 15.8 kB / 3.027 GB, free: 161.5 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.0004951/5.125, allocations: 297.7 kB / 3.027 GB, free: 161.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/5.125, allocations: 78.97 kB / 3.027 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004586/5.129, allocations: 0.8488 MB / 3.028 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/5.13, allocations: 7.938 kB / 3.028 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/5.13, allocations: 3.953 kB / 3.028 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/5.13, allocations: 7.984 kB / 3.028 GB, free: 160.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/5.13, allocations: 0.6447 MB / 3.029 GB, free: 159.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/5.13, allocations: 0 / 3.029 GB, free: 159.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/5.131, allocations: 59.52 kB / 3.029 GB, free: 159.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/5.132, allocations: 174.8 kB / 3.029 GB, free: 159.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/5.132, allocations: 19.78 kB / 3.029 GB, free: 159.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007882/5.14, allocations: 2.173 MB / 3.031 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/5.14, allocations: 4.094 kB / 3.031 GB, free: 157.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004611/5.144, allocations: 0.8055 MB / 3.032 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/5.145, allocations: 226.8 kB / 3.032 GB, free: 156.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.462e-05/5.145, allocations: 15.62 kB / 3.032 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/5.145, allocations: 31.28 kB / 3.032 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.401e-05/5.145, allocations: 27.41 kB / 3.032 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/5.145, allocations: 19.55 kB / 3.032 GB, free: 156.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001106/5.147, allocations: 0.9937 MB / 3.033 GB, free: 155.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/5.147, allocations: 0 / 3.033 GB, free: 155.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007876/5.147, allocations: 215.7 kB / 3.034 GB, free: 155.6 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.001655/5.149, allocations: 0.9281 MB / 3.034 GB, free: 154.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0018/5.151, allocations: 0.5727 MB / 3.035 GB, free: 154.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/5.151, allocations: 4.062 kB / 3.035 GB, free: 154.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009209/5.152, allocations: 381.6 kB / 3.035 GB, free: 154 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006495/5.152, allocations: 104.5 kB / 3.035 GB, free: 154 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/5.155, allocations: 1.883 MB / 3.037 GB, free: 152.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/5.155, allocations: 0.9914 MB / 3.038 GB, free: 151.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004165/5.156, allocations: 138.2 kB / 3.038 GB, free: 151.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/5.156, allocations: 55.14 kB / 3.038 GB, free: 151 MB / 1.167 GB Notification: Performance of SimCode: time 8.32e-07/5.156, allocations: 0 / 3.038 GB, free: 151 MB / 1.167 GB Notification: Performance of Templates: time 0.02557/5.182, allocations: 19.01 MB / 3.057 GB, free: 132.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches