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.414/2.414, allocations: 387.1 MB / 399.7 MB, free: 9.449 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.001164/0.001165, allocations: 180.1 kB / 492.3 MB, free: 0.6172 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.483/1.483, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.001106/0.001106, allocations: 102.7 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.515e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3342, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.54/5.874, allocations: 1.732 GB / 2.944 GB, free: 108.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/5.874, allocations: 86.89 kB / 2.944 GB, free: 108.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1049/5.979, allocations: 55.07 MB / 2.998 GB, free: 57.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.517e-06/5.979, allocations: 0 / 2.998 GB, free: 57.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.862e-05/5.979, allocations: 12 kB / 2.998 GB, free: 57.79 MB / 1.151 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.001403/5.981, allocations: 0.9012 MB / 2.999 GB, free: 56.84 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/5.981, allocations: 8.031 kB / 2.999 GB, free: 56.84 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/5.982, allocations: 190.7 kB / 2.999 GB, free: 56.65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009853/5.983, allocations: 0.5269 MB / 3 GB, free: 56.08 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.27e-05/5.983, allocations: 12.38 kB / 3 GB, free: 56.07 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/5.983, allocations: 27.94 kB / 3 GB, free: 56.04 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004894/5.984, allocations: 307 kB / 3 GB, free: 55.73 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/5.984, allocations: 0 / 3 GB, free: 55.73 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/5.984, allocations: 4 kB / 3 GB, free: 55.72 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/5.984, allocations: 4 kB / 3 GB, free: 55.72 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/5.984, allocations: 300.8 kB / 3 GB, free: 55.43 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/5.986, allocations: 1.222 MB / 3.001 GB, free: 54.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/5.987, allocations: 369.5 kB / 3.002 GB, free: 53.77 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/5.987, allocations: 177.6 kB / 3.002 GB, free: 53.59 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/5.987, allocations: 7.984 kB / 3.002 GB, free: 53.58 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003682/5.988, allocations: 274.6 kB / 3.002 GB, free: 53.29 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/5.988, allocations: 4 kB / 3.002 GB, free: 53.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.002755/5.99, allocations: 0.6192 MB / 3.003 GB, free: 52.66 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/5.99, allocations: 85.11 kB / 3.003 GB, free: 52.56 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/5.992, allocations: 1.219 MB / 3.004 GB, free: 51.33 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/5.992, allocations: 29.7 kB / 3.004 GB, free: 51.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/5.992, allocations: 360.6 kB / 3.004 GB, free: 50.94 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/5.992, allocations: 106.6 kB / 3.005 GB, free: 50.84 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/5.993, allocations: 4 kB / 3.005 GB, free: 50.83 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/5.993, allocations: 321.9 kB / 3.005 GB, free: 50.51 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/5.993, allocations: 140 kB / 3.005 GB, free: 50.38 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/5.993, allocations: 205.9 kB / 3.005 GB, free: 50.15 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/5.993, allocations: 164.7 kB / 3.005 GB, free: 49.99 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/5.993, allocations: 0 / 3.005 GB, free: 49.99 MB / 1.151 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002592/5.996, allocations: 0.6298 MB / 3.006 GB, free: 49.35 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/5.996, allocations: 4 kB / 3.006 GB, free: 49.35 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/5.996, allocations: 4.062 kB / 3.006 GB, free: 49.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004217/5.996, allocations: 136.7 kB / 3.006 GB, free: 49.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/5.997, allocations: 59.91 kB / 3.006 GB, free: 49.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004231/6.001, allocations: 1.865 MB / 3.008 GB, free: 47.15 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/6.002, allocations: 47.67 kB / 3.008 GB, free: 47.11 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/6.002, allocations: 16.17 kB / 3.008 GB, free: 47.09 MB / 1.151 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.0001479/6.002, allocations: 128.9 kB / 3.008 GB, free: 46.96 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/6.002, allocations: 82.97 kB / 3.008 GB, free: 46.88 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003194/6.005, allocations: 0.7626 MB / 3.009 GB, free: 46.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/6.005, allocations: 4 kB / 3.009 GB, free: 46.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/6.005, allocations: 3.953 kB / 3.009 GB, free: 46.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/6.005, allocations: 4 kB / 3.009 GB, free: 46.09 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008351/6.006, allocations: 0.6443 MB / 3.01 GB, free: 45.39 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/6.006, allocations: 4 kB / 3.01 GB, free: 45.39 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/6.007, allocations: 55.91 kB / 3.01 GB, free: 45.34 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/6.007, allocations: 124.7 kB / 3.01 GB, free: 45.21 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/6.007, allocations: 11.98 kB / 3.01 GB, free: 45.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003645/6.011, allocations: 1.873 MB / 3.012 GB, free: 43.19 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/6.011, allocations: 0 / 3.012 GB, free: 43.19 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/6.014, allocations: 0.7186 MB / 3.012 GB, free: 42.44 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/6.014, allocations: 224 kB / 3.013 GB, free: 42.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/6.014, allocations: 16 kB / 3.013 GB, free: 42.19 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/6.015, allocations: 31.88 kB / 3.013 GB, free: 42.16 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/6.015, allocations: 23.97 kB / 3.013 GB, free: 42.13 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/6.015, allocations: 19.97 kB / 3.013 GB, free: 42.11 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001129/6.016, allocations: 0.9872 MB / 3.014 GB, free: 41.13 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/6.016, allocations: 7.875 kB / 3.014 GB, free: 41.12 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008036/6.017, allocations: 215.9 kB / 3.014 GB, free: 40.91 MB / 1.151 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.001642/6.018, allocations: 0.8814 MB / 3.015 GB, free: 40.16 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009531/6.019, allocations: 498.3 kB / 3.015 GB, free: 39.66 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/6.019, allocations: 12.12 kB / 3.015 GB, free: 39.64 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004621/6.02, allocations: 346.6 kB / 3.015 GB, free: 39.29 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007395/6.02, allocations: 117.4 kB / 3.016 GB, free: 39.18 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/6.022, allocations: 1.4 MB / 3.017 GB, free: 37.75 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/6.023, allocations: 0.9888 MB / 3.018 GB, free: 36.73 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004278/6.023, allocations: 122.8 kB / 3.018 GB, free: 36.61 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/6.024, allocations: 55.33 kB / 3.018 GB, free: 36.56 MB / 1.151 GB Notification: Performance of SimCode: time 9.32e-07/6.024, allocations: 0 / 3.018 GB, free: 36.56 MB / 1.151 GB Notification: Performance of Templates: time 0.02805/6.052, allocations: 20.77 MB / 3.038 GB, free: 15.8 MB / 1.151 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