Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.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.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger") translateModel(Buildings.Utilities.Comfort.Examples.Fanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theCom.M|theCom.TOpe|theCom.TAir|theCom.TRad|theCom.TClo|theCom.TSki|theCom.PMV|theCom.PPD|theCom.vAir",fileNamePrefix="Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.623/2.623, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001161/0.001161, allocations: 165.1 kB / 498.1 MB, free: 5.727 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.735/1.735, allocations: 223.2 MB / 0.7949 GB, free: 17.9 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.001133/0.001133, allocations: 96.25 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003872, allocations: 7 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.451/4.801, allocations: 1.729 GB / 2.952 GB, free: 255.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/4.801, allocations: 88.2 kB / 2.952 GB, free: 255.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1018/4.903, allocations: 51.05 MB / 3.002 GB, free: 212.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.226e-06/4.903, allocations: 0 / 3.002 GB, free: 212.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.066e-05/4.903, allocations: 8 kB / 3.002 GB, free: 212.9 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001621/4.905, allocations: 0.6726 MB / 3.002 GB, free: 212.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/4.905, allocations: 8.031 kB / 3.002 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/4.909, allocations: 247.2 kB / 3.003 GB, free: 212 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000807/4.91, allocations: 297.2 kB / 3.003 GB, free: 211.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/4.91, allocations: 19.25 kB / 3.003 GB, free: 211.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/4.91, allocations: 35.44 kB / 3.003 GB, free: 211.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/4.913, allocations: 431 kB / 3.003 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/4.913, allocations: 7.938 kB / 3.003 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.495e-05/4.913, allocations: 7.562 kB / 3.003 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/4.913, allocations: 12 kB / 3.003 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/4.917, allocations: 0.528 MB / 3.004 GB, free: 210.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005007/4.922, allocations: 1.161 MB / 3.005 GB, free: 209.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/4.926, allocations: 472.1 kB / 3.005 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.565e-05/4.926, allocations: 4.375 kB / 3.005 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/4.926, allocations: 38.25 kB / 3.005 GB, free: 209.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 4.91e-06/4.926, allocations: 0 / 3.005 GB, free: 209.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.02987/4.956, allocations: 1.717 MB / 3.007 GB, free: 207.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/4.956, allocations: 51.41 kB / 3.007 GB, free: 207.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004781/4.957, allocations: 267.5 kB / 3.007 GB, free: 207.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001257/4.957, allocations: 33.52 kB / 3.007 GB, free: 207.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/4.957, allocations: 172 kB / 3.008 GB, free: 207.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/4.957, allocations: 88.27 kB / 3.008 GB, free: 207.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.984e-05/4.957, allocations: 3.5 kB / 3.008 GB, free: 207.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.288e-05/4.957, allocations: 345.4 kB / 3.008 GB, free: 207 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/4.959, allocations: 205.5 kB / 3.008 GB, free: 206.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/4.961, allocations: 256.9 kB / 3.008 GB, free: 206.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/4.963, allocations: 219.9 kB / 3.009 GB, free: 206.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/4.963, allocations: 4 kB / 3.009 GB, free: 206.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.01298/4.976, allocations: 0.8996 MB / 3.01 GB, free: 205.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/4.976, allocations: 5.562 kB / 3.01 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/4.976, allocations: 0 / 3.01 GB, free: 205.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003425/4.98, allocations: 278.6 kB / 3.01 GB, free: 205.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/4.981, allocations: 67.52 kB / 3.01 GB, free: 205.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/5.002, allocations: 3.881 MB / 3.014 GB, free: 201.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/5.003, allocations: 79.42 kB / 3.014 GB, free: 201.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/5.003, allocations: 23.84 kB / 3.014 GB, free: 201.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002053/5.003, allocations: 143.8 kB / 3.014 GB, free: 201.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/5.003, allocations: 27.62 kB / 3.014 GB, free: 201.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00786/5.011, allocations: 0.9539 MB / 3.015 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/5.011, allocations: 4 kB / 3.015 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/5.011, allocations: 0 / 3.015 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/5.011, allocations: 7.938 kB / 3.015 GB, free: 200.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/5.012, allocations: 415.7 kB / 3.015 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/5.012, allocations: 0 / 3.015 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/5.012, allocations: 59.89 kB / 3.015 GB, free: 200 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001878/5.014, allocations: 279.5 kB / 3.016 GB, free: 199.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/5.014, allocations: 15.59 kB / 3.016 GB, free: 199.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/5.029, allocations: 3.868 MB / 3.019 GB, free: 195.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/5.029, allocations: 0 / 3.019 GB, free: 195.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007621/5.036, allocations: 0.9496 MB / 3.02 GB, free: 195 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/5.037, allocations: 120.5 kB / 3.02 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.222e-05/5.037, allocations: 3.875 kB / 3.02 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008044/5.037, allocations: 51.62 kB / 3.021 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/5.038, allocations: 23.78 kB / 3.021 GB, free: 194.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/5.038, allocations: 15.97 kB / 3.021 GB, free: 194.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001953/5.038, allocations: 223.1 kB / 3.021 GB, free: 194.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/5.038, allocations: 0 / 3.021 GB, free: 194.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007457/5.039, allocations: 149.7 kB / 3.021 GB, free: 194.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006411/5.039, allocations: 0.6031 MB / 3.021 GB, free: 193.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002648/5.042, allocations: 0.7364 MB / 3.022 GB, free: 193.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/5.042, allocations: 0 / 3.022 GB, free: 193.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/5.043, allocations: 0.5077 MB / 3.023 GB, free: 192.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/5.044, allocations: 103.8 kB / 3.023 GB, free: 192.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/5.046, allocations: 0.7698 MB / 3.024 GB, free: 192 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/5.046, allocations: 0.7764 MB / 3.024 GB, free: 191.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004727/5.047, allocations: 82.84 kB / 3.024 GB, free: 191.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/5.047, allocations: 38.17 kB / 3.024 GB, free: 191 MB / 1.167 GB Notification: Performance of SimCode: time 6.51e-07/5.047, allocations: 4 kB / 3.024 GB, free: 191 MB / 1.167 GB Notification: Performance of Templates: time 0.02236/5.069, allocations: 20.25 MB / 3.044 GB, free: 170.8 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Comfort_Examples_Fanger.csv","../files/Buildings_9_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches