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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.198/1.198, allocations: 249.4 MB / 256.7 MB, free: 7.062 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.0009397/0.0009399, allocations: 177.3 kB / 316 MB, free: 3.527 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.071/1.071, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.000866/0.0008661, allocations: 90.03 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.43e-06/5.45e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1515, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.598/3.749, allocations: 2.19 GB / 3.075 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/3.75, allocations: 79.27 kB / 3.075 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.08964/3.839, allocations: 50.82 MB / 3.125 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.811e-05/3.839, allocations: 11.98 kB / 3.125 GB, free: 128.8 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.0009766/3.84, allocations: 0.6505 MB / 3.125 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/3.84, allocations: 8.031 kB / 3.125 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/3.843, allocations: 271.3 kB / 3.125 GB, free: 127.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/3.843, allocations: 307.2 kB / 3.126 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/3.843, allocations: 8 kB / 3.126 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/3.844, allocations: 16 kB / 3.126 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005961/3.844, allocations: 377.1 kB / 3.126 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/3.845, allocations: 316.6 kB / 3.126 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/3.845, allocations: 3.906 kB / 3.126 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/3.845, allocations: 0 / 3.126 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/3.845, allocations: 8 kB / 3.126 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/3.847, allocations: 1.081 MB / 3.127 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005816/3.848, allocations: 308.9 kB / 3.128 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/3.848, allocations: 152.8 kB / 3.128 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/3.848, allocations: 8.375 kB / 3.128 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/3.848, allocations: 38.55 kB / 3.128 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.142e-06/3.848, allocations: 0 / 3.128 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.00531/3.854, allocations: 0.6795 MB / 3.129 GB, free: 124.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/3.854, allocations: 55.41 kB / 3.129 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/3.854, allocations: 183.9 kB / 3.129 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/3.854, allocations: 29.7 kB / 3.129 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/3.854, allocations: 159.9 kB / 3.129 GB, free: 124 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.807e-05/3.854, allocations: 82.75 kB / 3.129 GB, free: 124 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/3.854, allocations: 0 / 3.129 GB, free: 124 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.253e-05/3.854, allocations: 334.8 kB / 3.129 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/3.854, allocations: 120.5 kB / 3.13 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/3.854, allocations: 186.7 kB / 3.13 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/3.855, allocations: 160.3 kB / 3.13 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/3.855, allocations: 0 / 3.13 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.005151/3.86, allocations: 0.7095 MB / 3.131 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/3.86, allocations: 4 kB / 3.131 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/3.86, allocations: 3.938 kB / 3.131 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/3.861, allocations: 181.4 kB / 3.131 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/3.861, allocations: 63.94 kB / 3.131 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007296/3.868, allocations: 3.21 MB / 3.134 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008743/3.869, allocations: 63.83 kB / 3.134 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/3.869, allocations: 15.97 kB / 3.134 GB, free: 118.6 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.000125/3.87, allocations: 112.8 kB / 3.134 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/3.87, allocations: 23.72 kB / 3.134 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005464/3.875, allocations: 0.7658 MB / 3.135 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/3.875, allocations: 7.938 kB / 3.135 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/3.875, allocations: 0 / 3.135 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/3.875, allocations: 0 / 3.135 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/3.881, allocations: 1.119 MB / 3.136 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/3.881, allocations: 0 / 3.136 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/3.881, allocations: 55.95 kB / 3.136 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005328/3.881, allocations: 173.6 kB / 3.136 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/3.882, allocations: 11.97 kB / 3.136 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007118/3.889, allocations: 3.206 MB / 3.139 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/3.889, allocations: 4.031 kB / 3.139 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005196/3.894, allocations: 0.7982 MB / 3.14 GB, free: 112 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/3.894, allocations: 104.8 kB / 3.14 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/3.894, allocations: 0 / 3.14 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/3.895, allocations: 47.89 kB / 3.14 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.817e-05/3.895, allocations: 23.91 kB / 3.14 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/3.895, allocations: 15.97 kB / 3.14 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000103/3.895, allocations: 152.5 kB / 3.14 GB, free: 111.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007103/3.896, allocations: 155.7 kB / 3.141 GB, free: 111.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0007006/3.897, allocations: 0.7141 MB / 3.141 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009442/3.897, allocations: 0.5385 MB / 3.142 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/3.897, allocations: 0 / 3.142 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005792/3.898, allocations: 415.5 kB / 3.142 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/3.898, allocations: 58.52 kB / 3.142 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/3.901, allocations: 0.5414 MB / 3.143 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/3.901, allocations: 0.8188 MB / 3.144 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/3.901, allocations: 4 kB / 3.144 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.01733/3.918, allocations: 15.8 MB / 3.159 GB, free: 92.54 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