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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.913/1.913, allocations: 387.2 MB / 394.5 MB, free: 13.46 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.001429/0.001429, allocations: 187.9 kB / 487 MB, free: 5.094 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.291/1.291, allocations: 221.3 MB / 0.7819 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009185/0.0009185, allocations: 94.73 kB / 0.9213 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.446e-06/8.476e-06, allocations: 4 kB / 1.066 GB, free: 168 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2774, allocations: 142.3 MB / 1.205 GB, free: 25.96 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.717/3.994, allocations: 1.728 GB / 2.933 GB, free: 105.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/3.995, allocations: 86.94 kB / 2.933 GB, free: 105.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.09759/4.092, allocations: 50.38 MB / 2.983 GB, free: 59.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.346e-05/4.093, allocations: 11.98 kB / 2.983 GB, free: 59.02 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.001167/4.094, allocations: 0.6503 MB / 2.983 GB, free: 58.32 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/4.094, allocations: 11.97 kB / 2.983 GB, free: 58.31 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002896/4.097, allocations: 275.2 kB / 2.983 GB, free: 58.04 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/4.097, allocations: 295.6 kB / 2.984 GB, free: 57.71 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/4.097, allocations: 11.91 kB / 2.984 GB, free: 57.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/4.097, allocations: 19.98 kB / 2.984 GB, free: 57.68 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006964/4.098, allocations: 377.1 kB / 2.984 GB, free: 57.31 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/4.098, allocations: 316.6 kB / 2.984 GB, free: 57 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/4.098, allocations: 3.938 kB / 2.984 GB, free: 57 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/4.098, allocations: 4 kB / 2.984 GB, free: 56.99 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/4.098, allocations: 8 kB / 2.984 GB, free: 56.98 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/4.101, allocations: 1.082 MB / 2.986 GB, free: 55.86 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006616/4.102, allocations: 305.4 kB / 2.986 GB, free: 55.55 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/4.102, allocations: 156.8 kB / 2.986 GB, free: 55.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.092e-05/4.102, allocations: 12.36 kB / 2.986 GB, free: 55.39 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.556e-05/4.102, allocations: 34.56 kB / 2.986 GB, free: 55.34 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.915e-06/4.102, allocations: 0 / 2.986 GB, free: 55.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.005531/4.108, allocations: 0.6679 MB / 2.987 GB, free: 54.66 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/4.108, allocations: 55.41 kB / 2.987 GB, free: 54.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/4.108, allocations: 187.8 kB / 2.987 GB, free: 54.41 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.892e-05/4.108, allocations: 29.7 kB / 2.987 GB, free: 54.38 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/4.108, allocations: 156 kB / 2.987 GB, free: 54.22 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/4.108, allocations: 78.75 kB / 2.987 GB, free: 54.14 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/4.108, allocations: 4 kB / 2.987 GB, free: 54.14 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/4.108, allocations: 334.8 kB / 2.987 GB, free: 53.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/4.109, allocations: 120.5 kB / 2.988 GB, free: 53.68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/4.109, allocations: 194.6 kB / 2.988 GB, free: 53.47 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/4.109, allocations: 156.4 kB / 2.988 GB, free: 53.32 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/4.109, allocations: 0 / 2.988 GB, free: 53.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.005425/4.115, allocations: 0.7132 MB / 2.989 GB, free: 52.59 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/4.115, allocations: 4 kB / 2.989 GB, free: 52.59 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/4.115, allocations: 4 kB / 2.989 GB, free: 52.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/4.116, allocations: 177.6 kB / 2.989 GB, free: 52.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005352/4.116, allocations: 71.88 kB / 2.989 GB, free: 52.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/4.124, allocations: 3.214 MB / 2.992 GB, free: 48.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008862/4.125, allocations: 59.8 kB / 2.992 GB, free: 48.83 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/4.125, allocations: 15.97 kB / 2.992 GB, free: 48.82 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.0001305/4.125, allocations: 107.4 kB / 2.992 GB, free: 48.71 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/4.125, allocations: 31.66 kB / 2.992 GB, free: 48.68 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005663/4.131, allocations: 0.7592 MB / 2.993 GB, free: 47.91 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/4.131, allocations: 0 / 2.993 GB, free: 47.91 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/4.131, allocations: 4 kB / 2.993 GB, free: 47.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/4.131, allocations: 7.984 kB / 2.993 GB, free: 47.89 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005698/4.136, allocations: 1.112 MB / 2.994 GB, free: 46.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/4.136, allocations: 0 / 2.994 GB, free: 46.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/4.137, allocations: 55.89 kB / 2.994 GB, free: 46.67 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/4.137, allocations: 177.6 kB / 2.994 GB, free: 46.49 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/4.137, allocations: 15.97 kB / 2.994 GB, free: 46.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00736/4.145, allocations: 3.203 MB / 2.997 GB, free: 43.04 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/4.145, allocations: 7.969 kB / 2.997 GB, free: 43.03 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005347/4.15, allocations: 0.7946 MB / 2.998 GB, free: 42.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/4.15, allocations: 104.8 kB / 2.998 GB, free: 42.07 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.673e-05/4.15, allocations: 3.938 kB / 2.998 GB, free: 42.07 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/4.151, allocations: 43.95 kB / 2.998 GB, free: 42.03 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.724e-05/4.151, allocations: 27.88 kB / 2.998 GB, free: 42 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/4.151, allocations: 15.97 kB / 2.998 GB, free: 41.98 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0001394/4.152, allocations: 152.5 kB / 2.999 GB, free: 41.84 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008029/4.152, allocations: 143.8 kB / 2.999 GB, free: 41.7 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.0007896/4.153, allocations: 0.7137 MB / 2.999 GB, free: 40.98 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001079/4.154, allocations: 0.55 MB / 3 GB, free: 40.41 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/4.154, allocations: 0 / 3 GB, free: 40.41 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/4.155, allocations: 408.2 kB / 3 GB, free: 39.99 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/4.155, allocations: 52.83 kB / 3 GB, free: 39.94 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/4.158, allocations: 0.5457 MB / 3.001 GB, free: 39.36 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003808/4.158, allocations: 0.8188 MB / 3.002 GB, free: 38.52 MB / 1.151 GB Notification: Performance of SimCode: time 5.31e-07/4.158, allocations: 0 / 3.002 GB, free: 38.52 MB / 1.151 GB Notification: Performance of Templates: time 0.01966/4.178, allocations: 15.83 MB / 3.017 GB, free: 22.72 MB / 1.151 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