Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 249.3 MB / 261.8 MB, free: 5.941 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.001566/0.001566, allocations: 182.1 kB / 321.3 MB, free: 14.62 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.767/1.767, 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.0008755/0.0008754, allocations: 92.58 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.393e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2505, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.863/7.113, allocations: 2.19 GB / 3.082 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/7.114, allocations: 83.95 kB / 3.082 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.114/7.228, allocations: 51.4 MB / 3.132 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.376e-06/7.228, allocations: 0 / 3.132 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.242e-05/7.228, allocations: 7.938 kB / 3.132 GB, free: 127.6 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001737/7.23, allocations: 0.6388 MB / 3.133 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.159e-05/7.23, allocations: 8.031 kB / 3.133 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/7.232, allocations: 247.4 kB / 3.133 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006685/7.233, allocations: 300 kB / 3.133 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.363e-05/7.233, allocations: 16.56 kB / 3.133 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/7.233, allocations: 31.94 kB / 3.133 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000675/7.234, allocations: 360.6 kB / 3.134 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/7.234, allocations: 4 kB / 3.134 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/7.234, allocations: 8 kB / 3.134 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/7.234, allocations: 8 kB / 3.134 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/7.235, allocations: 390.1 kB / 3.134 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/7.238, allocations: 1.144 MB / 3.135 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007343/7.239, allocations: 330.5 kB / 3.135 GB, free: 124 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/7.239, allocations: 156.8 kB / 3.136 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/7.239, allocations: 8.375 kB / 3.136 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/7.239, allocations: 38.5 kB / 3.136 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 3.346e-06/7.239, allocations: 0 / 3.136 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.004698/7.244, allocations: 0.6674 MB / 3.136 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/7.244, allocations: 51.41 kB / 3.136 GB, free: 123 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/7.244, allocations: 266.8 kB / 3.137 GB, free: 122.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/7.244, allocations: 37.64 kB / 3.137 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/7.244, allocations: 164.2 kB / 3.137 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.385e-05/7.244, allocations: 90.73 kB / 3.137 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/7.244, allocations: 4 kB / 3.137 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000128/7.244, allocations: 346.8 kB / 3.137 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/7.245, allocations: 132.5 kB / 3.137 GB, free: 122 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/7.245, allocations: 183.1 kB / 3.137 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/7.245, allocations: 139.9 kB / 3.138 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/7.245, allocations: 4 kB / 3.138 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.004517/7.25, allocations: 0.6981 MB / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/7.25, allocations: 9.547 kB / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/7.25, allocations: 0 / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006948/7.251, allocations: 173.5 kB / 3.138 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/7.251, allocations: 67.88 kB / 3.138 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006949/7.258, allocations: 3.292 MB / 3.142 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009254/7.259, allocations: 75.58 kB / 3.142 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.383e-05/7.259, allocations: 23.95 kB / 3.142 GB, free: 117 MB / 0.8698 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 () * 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.0001792/7.259, allocations: 124.9 kB / 3.142 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/7.259, allocations: 27.62 kB / 3.142 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/7.264, allocations: 0.7568 MB / 3.143 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/7.264, allocations: 0 / 3.143 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/7.264, allocations: 8 kB / 3.143 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/7.264, allocations: 0 / 3.143 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/7.265, allocations: 424.9 kB / 3.143 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/7.265, allocations: 0 / 3.143 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/7.265, allocations: 63.88 kB / 3.143 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005581/7.266, allocations: 177.5 kB / 3.143 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/7.266, allocations: 11.97 kB / 3.143 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/7.273, allocations: 3.303 MB / 3.147 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/7.273, allocations: 0 / 3.147 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/7.277, allocations: 0.7622 MB / 3.147 GB, free: 111 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/7.278, allocations: 120.5 kB / 3.147 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/7.278, allocations: 4 kB / 3.147 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007553/7.278, allocations: 47.95 kB / 3.147 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/7.279, allocations: 19.97 kB / 3.147 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/7.279, allocations: 19.97 kB / 3.148 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002696/7.279, allocations: 222.2 kB / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/7.279, allocations: 0 / 3.148 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009246/7.28, allocations: 152 kB / 3.148 GB, free: 110.4 MB / 0.8698 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 () * 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.001106/7.281, allocations: 0.6066 MB / 3.148 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001288/7.282, allocations: 0.5675 MB / 3.149 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/7.282, allocations: 4 kB / 3.149 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007143/7.283, allocations: 437.2 kB / 3.149 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005988/7.284, allocations: 99.92 kB / 3.15 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/7.285, allocations: 486.5 kB / 3.15 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/7.285, allocations: 0.7725 MB / 3.151 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0004962/7.286, allocations: 78.88 kB / 3.151 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/7.286, allocations: 31.42 kB / 3.151 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of SimCode: time 4.61e-07/7.286, allocations: 0 / 3.151 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.03075/7.317, allocations: 22 MB / 3.172 GB, free: 85.32 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Comfort_Examples_Fanger.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Examples.Fanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches