Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.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.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_latest_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_latest_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.39/2.39, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001184/0.001184, allocations: 182.8 kB / 0.4902 GB, free: 2.242 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.451/1.451, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0008543/0.0008543, allocations: 102.3 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003596, allocations: 6.688 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.267, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.327/4.594, allocations: 1.73 GB / 2.959 GB, free: 257.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/4.594, allocations: 88.66 kB / 2.959 GB, free: 257.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1022/4.696, allocations: 51.05 MB / 3.009 GB, free: 205.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.723e-06/4.696, allocations: 0 / 3.009 GB, free: 205.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.222e-05/4.696, allocations: 8 kB / 3.009 GB, free: 205.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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00154/4.698, allocations: 0.6742 MB / 3.009 GB, free: 205 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/4.698, allocations: 12.56 kB / 3.009 GB, free: 205 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/4.701, allocations: 243.3 kB / 3.01 GB, free: 204.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/4.702, allocations: 295.6 kB / 3.01 GB, free: 204.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/4.702, allocations: 24.56 kB / 3.01 GB, free: 204.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/4.702, allocations: 35.89 kB / 3.01 GB, free: 204.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/4.703, allocations: 428.5 kB / 3.01 GB, free: 204 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/4.703, allocations: 11.98 kB / 3.01 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/4.703, allocations: 8 kB / 3.01 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/4.703, allocations: 8 kB / 3.01 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/4.706, allocations: 0.5291 MB / 3.011 GB, free: 203.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003241/4.709, allocations: 1.144 MB / 3.012 GB, free: 202.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/4.712, allocations: 470.3 kB / 3.013 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/4.712, allocations: 12.31 kB / 3.013 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/4.712, allocations: 38.56 kB / 3.013 GB, free: 201.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/4.712, allocations: 4 kB / 3.013 GB, free: 201.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.01886/4.731, allocations: 1.714 MB / 3.014 GB, free: 199.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/4.731, allocations: 51.41 kB / 3.014 GB, free: 199.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/4.731, allocations: 267.7 kB / 3.015 GB, free: 199.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-05/4.731, allocations: 29.7 kB / 3.015 GB, free: 199.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/4.731, allocations: 176.2 kB / 3.015 GB, free: 199.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/4.731, allocations: 82.77 kB / 3.015 GB, free: 199.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/4.731, allocations: 4 kB / 3.015 GB, free: 199.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/4.732, allocations: 350.8 kB / 3.015 GB, free: 198.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/4.733, allocations: 200.4 kB / 3.015 GB, free: 198.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/4.734, allocations: 263 kB / 3.016 GB, free: 198.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/4.735, allocations: 220.6 kB / 3.016 GB, free: 198.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/4.735, allocations: 4 kB / 3.016 GB, free: 198.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.007999/4.743, allocations: 0.8927 MB / 3.017 GB, free: 197.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/4.743, allocations: 4 kB / 3.017 GB, free: 197.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/4.743, allocations: 3.938 kB / 3.017 GB, free: 197.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002088/4.745, allocations: 277.4 kB / 3.017 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/4.746, allocations: 75.88 kB / 3.017 GB, free: 197 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/4.762, allocations: 3.876 MB / 3.021 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/4.763, allocations: 75.55 kB / 3.021 GB, free: 192.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/4.763, allocations: 19.97 kB / 3.021 GB, free: 192.7 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.0003037/4.764, allocations: 149.7 kB / 3.021 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/4.764, allocations: 27.62 kB / 3.021 GB, free: 192.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008132/4.772, allocations: 0.948 MB / 3.022 GB, free: 191.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/4.772, allocations: 7.938 kB / 3.022 GB, free: 191.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/4.772, allocations: 0 / 3.022 GB, free: 191.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/4.772, allocations: 7.938 kB / 3.022 GB, free: 191.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/4.772, allocations: 425 kB / 3.022 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/4.772, allocations: 0 / 3.022 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/4.773, allocations: 51.95 kB / 3.022 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/4.775, allocations: 285.3 kB / 3.023 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.104e-05/4.775, allocations: 15.97 kB / 3.023 GB, free: 190.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/4.79, allocations: 3.864 MB / 3.027 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/4.79, allocations: 0 / 3.027 GB, free: 186.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007707/4.798, allocations: 0.9632 MB / 3.027 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/4.798, allocations: 116.7 kB / 3.028 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/4.798, allocations: 8 kB / 3.028 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/4.799, allocations: 47.95 kB / 3.028 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/4.799, allocations: 15.97 kB / 3.028 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/4.799, allocations: 23.91 kB / 3.028 GB, free: 185.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002216/4.799, allocations: 219.1 kB / 3.028 GB, free: 185.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/4.799, allocations: 0 / 3.028 GB, free: 185.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007744/4.8, allocations: 159.9 kB / 3.028 GB, free: 185.1 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.000783/4.801, allocations: 0.5963 MB / 3.029 GB, free: 184.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002842/4.804, allocations: 0.7355 MB / 3.029 GB, free: 183.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/4.804, allocations: 3.938 kB / 3.029 GB, free: 183.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/4.805, allocations: 0.5132 MB / 3.03 GB, free: 183.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/4.806, allocations: 99.88 kB / 3.03 GB, free: 183.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/4.808, allocations: 0.7642 MB / 3.031 GB, free: 182.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/4.809, allocations: 0.7764 MB / 3.031 GB, free: 181.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005779/4.809, allocations: 82.86 kB / 3.032 GB, free: 181.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/4.809, allocations: 35.42 kB / 3.032 GB, free: 181.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.353e-06/4.809, allocations: 0 / 3.032 GB, free: 181.3 MB / 1.167 GB Notification: Performance of Templates: time 0.04033/4.85, allocations: 20.25 MB / 3.051 GB, free: 161.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Examples_Fanger.csv","../files/Buildings_latest_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches