Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.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.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") [: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.202/1.202, allocations: 249.4 MB / 256.7 MB, free: 6.945 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.001121/0.001121, allocations: 184.3 kB / 316 MB, free: 3.52 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.06/1.06, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.0008701/0.0008702, allocations: 82.34 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.482e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1366, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.349/3.485, allocations: 2.213 GB / 3.097 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001811/3.486, allocations: 83.95 kB / 3.097 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.115/4.601, allocations: 467.6 MB / 3.554 GB, free: 60.35 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000118/4.601, allocations: 43.94 kB / 3.554 GB, free: 60.3 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.002774/4.604, allocations: 1.819 MB / 3.556 GB, free: 58.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/4.604, allocations: 12.03 kB / 3.556 GB, free: 58.42 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/4.607, allocations: 481.2 kB / 3.556 GB, free: 57.95 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/4.608, allocations: 1.001 MB / 3.557 GB, free: 56.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/4.608, allocations: 48 kB / 3.557 GB, free: 56.86 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/4.608, allocations: 92 kB / 3.558 GB, free: 56.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001992/4.61, allocations: 1.529 MB / 3.559 GB, free: 55.23 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/4.612, allocations: 1.436 MB / 3.56 GB, free: 53.71 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.647e-05/4.612, allocations: 3.906 kB / 3.56 GB, free: 53.71 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/4.612, allocations: 15.91 kB / 3.56 GB, free: 53.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/4.612, allocations: 43.94 kB / 3.56 GB, free: 53.65 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006272/4.619, allocations: 5.67 MB / 3.566 GB, free: 47.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/4.62, allocations: 1.103 MB / 3.567 GB, free: 46.61 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/4.621, allocations: 0.4968 MB / 3.568 GB, free: 46.11 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007072/4.621, allocations: 0.8908 MB / 3.568 GB, free: 45.04 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007896/4.622, allocations: 0.676 MB / 3.569 GB, free: 44.34 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=117): time 2.885e-06/4.622, allocations: 0 / 3.569 GB, free: 44.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=117): time 0.002424/4.624, allocations: 1.12 MB / 3.57 GB, free: 43.21 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/4.625, allocations: 248.3 kB / 3.57 GB, free: 42.91 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007879/4.625, allocations: 0.6924 MB / 3.571 GB, free: 42.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.388e-05/4.625, allocations: 25.7 kB / 3.571 GB, free: 42.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002392/4.626, allocations: 0.5074 MB / 3.572 GB, free: 41.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/4.626, allocations: 378.3 kB / 3.572 GB, free: 41.28 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/4.626, allocations: 0 / 3.572 GB, free: 41.28 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.624e-05/4.626, allocations: 349.8 kB / 3.572 GB, free: 40.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004471/4.626, allocations: 353.9 kB / 3.573 GB, free: 40.59 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/4.627, allocations: 0.5072 MB / 3.573 GB, free: 40.03 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005783/4.628, allocations: 445.8 kB / 3.574 GB, free: 39.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/4.628, allocations: 0 / 3.574 GB, free: 39.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001851/4.629, allocations: 1.089 MB / 3.575 GB, free: 38.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/4.63, allocations: 4 kB / 3.575 GB, free: 38.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/4.63, allocations: 0 / 3.575 GB, free: 38.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/4.63, allocations: 88.89 kB / 3.575 GB, free: 38.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/4.631, allocations: 267.7 kB / 3.575 GB, free: 38.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/4.633, allocations: 1.468 MB / 3.576 GB, free: 36.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/4.634, allocations: 123.2 kB / 3.577 GB, free: 36.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/4.634, allocations: 39.97 kB / 3.577 GB, free: 36.39 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 122 * 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.0002127/4.634, allocations: 127.1 kB / 3.577 GB, free: 36.26 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/4.634, allocations: 118.6 kB / 3.577 GB, free: 36.14 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/4.637, allocations: 1.421 MB / 3.578 GB, free: 34.71 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/4.637, allocations: 12 kB / 3.578 GB, free: 34.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/4.637, allocations: 0 / 3.578 GB, free: 34.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/4.637, allocations: 7.922 kB / 3.578 GB, free: 34.69 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/4.639, allocations: 1.234 MB / 3.579 GB, free: 33.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/4.639, allocations: 4 kB / 3.579 GB, free: 33.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/4.64, allocations: 271.6 kB / 3.58 GB, free: 33.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004967/4.64, allocations: 84.78 kB / 3.58 GB, free: 33.06 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.518e-05/4.64, allocations: 19.97 kB / 3.58 GB, free: 33.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/4.642, allocations: 1.484 MB / 3.581 GB, free: 31.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/4.642, allocations: 3.906 kB / 3.581 GB, free: 31.43 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002526/4.644, allocations: 1.838 MB / 3.583 GB, free: 29.58 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005679/4.645, allocations: 399.2 kB / 3.583 GB, free: 29.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/4.645, allocations: 0 / 3.583 GB, free: 29.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/4.646, allocations: 111.8 kB / 3.584 GB, free: 29.06 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001326/4.646, allocations: 73.2 kB / 3.584 GB, free: 28.99 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/4.646, allocations: 55.95 kB / 3.584 GB, free: 28.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005685/4.647, allocations: 0.546 MB / 3.584 GB, free: 28.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001484/4.648, allocations: 0.5919 MB / 3.585 GB, free: 27.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 125 * 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.002125/4.651, allocations: 1.857 MB / 3.587 GB, free: 25.97 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001511/4.652, allocations: 1.061 MB / 3.588 GB, free: 24.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/4.652, allocations: 4.734 kB / 3.588 GB, free: 24.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008208/4.653, allocations: 0.6625 MB / 3.588 GB, free: 24.22 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/4.655, allocations: 400.4 kB / 3.589 GB, free: 23.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004973/4.66, allocations: 2.316 MB / 3.591 GB, free: 21.47 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/4.661, allocations: 1.489 MB / 3.592 GB, free: 19.96 MB / 0.8698 GB Notification: Performance of SimCode: time 3.01e-07/4.661, allocations: 3.938 kB / 3.592 GB, free: 19.95 MB / 0.8698 GB Notification: Performance of Templates: time 0.324/4.985, allocations: 31.52 MB / 3.623 GB, free: 280.4 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches