Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside.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.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem.T|senMasFra.X|senRelHum.phi",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside") [: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 2.028/2.028, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001076/0.001076, allocations: 176.3 kB / 487 MB, free: 5.371 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.311/1.311, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.001017/0.001017, allocations: 98.17 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.143e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2182, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.217/4.435, allocations: 1.906 GB / 3.112 GB, free: 421.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004072/4.436, allocations: 91.89 kB / 3.112 GB, free: 421.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.7392/5.175, allocations: 399.8 MB / 3.502 GB, free: 13.77 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001142/5.175, allocations: 39.92 kB / 3.502 GB, free: 13.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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.003544/5.179, allocations: 1.556 MB / 3.504 GB, free: 12.12 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/5.179, allocations: 15.97 kB / 3.504 GB, free: 12.11 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002338/5.181, allocations: 365.8 kB / 3.504 GB, free: 11.75 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/5.184, allocations: 1.109 MB / 3.505 GB, free: 10.59 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.798e-05/5.184, allocations: 40 kB / 3.505 GB, free: 10.55 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/5.184, allocations: 72 kB / 3.505 GB, free: 10.48 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001937/5.186, allocations: 1.304 MB / 3.507 GB, free: 9.176 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/5.187, allocations: 1.035 MB / 3.508 GB, free: 8.078 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/5.188, allocations: 0 / 3.508 GB, free: 8.078 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/5.188, allocations: 4 kB / 3.508 GB, free: 8.074 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/5.188, allocations: 24 kB / 3.508 GB, free: 8.051 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005654/5.193, allocations: 3.585 MB / 3.511 GB, free: 4.344 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/5.194, allocations: 0.9505 MB / 3.512 GB, free: 3.383 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004673/5.195, allocations: 395.1 kB / 3.512 GB, free: 2.996 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006905/5.196, allocations: 0.4982 MB / 3.513 GB, free: 2.402 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007019/5.196, allocations: 0.5387 MB / 3.513 GB, free: 1.848 MB / 1.151 GB Notification: Performance of pre-optimization done (n=97): time 3.566e-06/5.196, allocations: 0 / 3.513 GB, free: 1.848 MB / 1.151 GB Notification: Performance of matching and sorting (n=97): time 0.003039/5.199, allocations: 1.123 MB / 3.515 GB, free: 0.707 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/5.2, allocations: 244.1 kB / 3.515 GB, free: 424 kB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5703/5.77, allocations: 0.6124 MB / 3.515 GB, free: 424.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0004113/5.77, allocations: 28.95 kB / 3.515 GB, free: 424.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/5.771, allocations: 391.7 kB / 3.516 GB, free: 424.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/5.771, allocations: 316.2 kB / 3.516 GB, free: 424.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/5.771, allocations: 0 / 3.516 GB, free: 424.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001064/5.771, allocations: 344.8 kB / 3.516 GB, free: 424.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/5.772, allocations: 308.8 kB / 3.517 GB, free: 424.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/5.772, allocations: 450.8 kB / 3.517 GB, free: 424 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/5.774, allocations: 0.5132 MB / 3.518 GB, free: 424 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/5.774, allocations: 9.344 kB / 3.518 GB, free: 424 MB / 1.151 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00261/5.776, allocations: 1.091 MB / 3.519 GB, free: 423.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/5.776, allocations: 7.75 kB / 3.519 GB, free: 423.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/5.776, allocations: 0 / 3.519 GB, free: 423.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006618/5.777, allocations: 90.47 kB / 3.519 GB, free: 423.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009495/5.778, allocations: 205.7 kB / 3.519 GB, free: 423.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/5.78, allocations: 1.472 MB / 3.52 GB, free: 422.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009617/5.781, allocations: 90.11 kB / 3.521 GB, free: 422.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.474e-05/5.781, allocations: 38 kB / 3.521 GB, free: 422.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002233/5.781, allocations: 119.4 kB / 3.521 GB, free: 422.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/5.781, allocations: 103.5 kB / 3.521 GB, free: 422.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/5.784, allocations: 1.448 MB / 3.522 GB, free: 422.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/5.784, allocations: 11.44 kB / 3.522 GB, free: 422.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/5.784, allocations: 3.906 kB / 3.522 GB, free: 422.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/5.785, allocations: 6.609 kB / 3.522 GB, free: 422.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/5.789, allocations: 2.542 MB / 3.525 GB, free: 421.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/5.789, allocations: 3.844 kB / 3.525 GB, free: 421.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009159/5.79, allocations: 202.9 kB / 3.525 GB, free: 421.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005259/5.79, allocations: 89.72 kB / 3.525 GB, free: 421.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/5.791, allocations: 16.34 kB / 3.525 GB, free: 421.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/5.792, allocations: 1.495 MB / 3.526 GB, free: 420.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/5.792, allocations: 3.094 kB / 3.526 GB, free: 420.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003093/5.795, allocations: 1.823 MB / 3.528 GB, free: 420.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005755/5.796, allocations: 342.3 kB / 3.529 GB, free: 420.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/5.796, allocations: 10.34 kB / 3.529 GB, free: 420.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/5.797, allocations: 75.69 kB / 3.529 GB, free: 420.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/5.797, allocations: 64.88 kB / 3.529 GB, free: 420.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.998e-05/5.797, allocations: 42.97 kB / 3.529 GB, free: 420.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006431/5.798, allocations: 0.4915 MB / 3.529 GB, free: 420.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001968/5.8, allocations: 0.5301 MB / 3.53 GB, free: 420 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003901/5.804, allocations: 1.981 MB / 3.532 GB, free: 419.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001953/5.806, allocations: 0.9186 MB / 3.533 GB, free: 419.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/5.806, allocations: 3.516 kB / 3.533 GB, free: 419.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/5.807, allocations: 0.577 MB / 3.533 GB, free: 419.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/5.808, allocations: 340.9 kB / 3.533 GB, free: 419.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006006/5.814, allocations: 1.957 MB / 3.535 GB, free: 419 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/5.816, allocations: 1.305 MB / 3.537 GB, free: 418.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.884e-06/5.816, allocations: 0 / 3.537 GB, free: 418.3 MB / 1.151 GB Notification: Performance of Templates: time 0.05815/5.874, allocations: 28.29 MB / 3.564 GB, free: 417.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside.csv","../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches