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") [: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 10.0.0-master/package.mo): time 2.01/2.01, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001112/0.001112, allocations: 184.4 kB / 490.8 MB, free: 1.887 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.447/1.447, allocations: 221.4 MB / 0.7863 GB, free: 13.67 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.0009857/0.0009857, allocations: 108.5 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.147e-06/4.177e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2929, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.467/3.76, allocations: 1.729 GB / 2.94 GB, free: 143.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/3.76, allocations: 79.95 kB / 2.94 GB, free: 143.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1229/3.883, allocations: 50.39 MB / 2.99 GB, free: 92.74 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.341e-05/3.883, allocations: 4 kB / 2.99 GB, free: 92.73 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001224/3.885, allocations: 0.6622 MB / 2.99 GB, free: 92.03 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/3.885, allocations: 12.69 kB / 2.99 GB, free: 92.02 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002895/3.888, allocations: 271.2 kB / 2.991 GB, free: 91.75 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/3.888, allocations: 300.1 kB / 2.991 GB, free: 91.41 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/3.888, allocations: 8 kB / 2.991 GB, free: 91.41 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/3.888, allocations: 16 kB / 2.991 GB, free: 91.39 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006767/3.889, allocations: 389 kB / 2.991 GB, free: 91.01 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/3.889, allocations: 312.6 kB / 2.992 GB, free: 90.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/3.889, allocations: 3.938 kB / 2.992 GB, free: 90.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/3.889, allocations: 0 / 2.992 GB, free: 90.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/3.889, allocations: 8 kB / 2.992 GB, free: 90.69 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/3.892, allocations: 1.077 MB / 2.993 GB, free: 89.57 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000632/3.893, allocations: 314.5 kB / 2.993 GB, free: 89.25 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/3.893, allocations: 148.8 kB / 2.993 GB, free: 89.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/3.893, allocations: 4 kB / 2.993 GB, free: 89.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/3.893, allocations: 38.5 kB / 2.993 GB, free: 89.05 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/3.893, allocations: 0 / 2.993 GB, free: 89.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.005506/3.899, allocations: 0.673 MB / 2.994 GB, free: 88.37 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/3.899, allocations: 59.41 kB / 2.994 GB, free: 88.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/3.899, allocations: 179.9 kB / 2.994 GB, free: 88.12 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/3.899, allocations: 29.7 kB / 2.994 GB, free: 88.08 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/3.899, allocations: 159.9 kB / 2.994 GB, free: 87.92 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.338e-05/3.899, allocations: 86.75 kB / 2.994 GB, free: 87.84 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/3.899, allocations: 0 / 2.994 GB, free: 87.84 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/3.899, allocations: 330.8 kB / 2.995 GB, free: 87.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/3.9, allocations: 128.5 kB / 2.995 GB, free: 87.38 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/3.9, allocations: 182.8 kB / 2.995 GB, free: 87.18 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/3.9, allocations: 151.9 kB / 2.995 GB, free: 87.03 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/3.9, allocations: 0 / 2.995 GB, free: 87.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00537/3.906, allocations: 0.7099 MB / 2.996 GB, free: 86.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/3.906, allocations: 4 kB / 2.996 GB, free: 86.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/3.906, allocations: 4 kB / 2.996 GB, free: 86.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/3.906, allocations: 177.6 kB / 2.996 GB, free: 86.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/3.907, allocations: 67.88 kB / 2.996 GB, free: 86.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007497/3.914, allocations: 3.217 MB / 2.999 GB, free: 82.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009458/3.915, allocations: 59.8 kB / 2.999 GB, free: 82.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/3.915, allocations: 27.95 kB / 2.999 GB, free: 82.52 MB / 1.151 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.0001346/3.916, allocations: 104.9 kB / 2.999 GB, free: 82.41 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/3.916, allocations: 23.72 kB / 2.999 GB, free: 82.39 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005582/3.921, allocations: 0.7636 MB / 3 GB, free: 81.62 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/3.921, allocations: 7.938 kB / 3 GB, free: 81.61 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/3.921, allocations: 0 / 3 GB, free: 81.61 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/3.921, allocations: 0 / 3 GB, free: 81.61 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005706/3.927, allocations: 1.116 MB / 3.001 GB, free: 80.44 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/3.927, allocations: 4 kB / 3.001 GB, free: 80.43 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/3.928, allocations: 55.89 kB / 3.001 GB, free: 80.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/3.928, allocations: 173.6 kB / 3.001 GB, free: 80.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/3.928, allocations: 11.97 kB / 3.001 GB, free: 80.19 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007713/3.936, allocations: 3.21 MB / 3.005 GB, free: 76.75 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/3.936, allocations: 7.891 kB / 3.005 GB, free: 76.74 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005589/3.942, allocations: 0.7946 MB / 3.005 GB, free: 75.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/3.942, allocations: 104.8 kB / 3.005 GB, free: 75.78 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001586/3.942, allocations: 7.984 kB / 3.005 GB, free: 75.77 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009514/3.943, allocations: 43.95 kB / 3.005 GB, free: 75.73 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/3.943, allocations: 15.88 kB / 3.005 GB, free: 75.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/3.943, allocations: 19.97 kB / 3.006 GB, free: 75.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001501/3.943, allocations: 156.5 kB / 3.006 GB, free: 75.54 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009291/3.944, allocations: 147.8 kB / 3.006 GB, free: 75.4 MB / 1.151 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.0009173/3.945, allocations: 0.6996 MB / 3.006 GB, free: 74.69 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001134/3.946, allocations: 0.5503 MB / 3.007 GB, free: 74.12 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/3.946, allocations: 0 / 3.007 GB, free: 74.12 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006891/3.947, allocations: 403.5 kB / 3.007 GB, free: 73.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/3.947, allocations: 62.08 kB / 3.007 GB, free: 73.64 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/3.95, allocations: 0.5526 MB / 3.008 GB, free: 73.06 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/3.95, allocations: 0.8071 MB / 3.009 GB, free: 72.22 MB / 1.151 GB Notification: Performance of SimCode: time 4.3e-07/3.95, allocations: 4 kB / 3.009 GB, free: 72.22 MB / 1.151 GB Notification: Performance of Templates: time 0.02178/3.972, allocations: 15.82 MB / 3.024 GB, free: 56.43 MB / 1.151 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