Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [: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.179/1.179, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.0009014/0.0009016, allocations: 181.3 kB / 316 MB, free: 3.57 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.065/1.065, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.000839/0.000839, allocations: 94.3 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.562e-06/6.582e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1535, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.849/4.002, allocations: 2.192 GB / 3.077 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/4.003, allocations: 86.08 kB / 3.077 GB, free: 171.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.043/5.046, allocations: 448.6 MB / 3.515 GB, free: 53.51 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.367e-05/5.046, allocations: 35.94 kB / 3.515 GB, free: 53.47 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.001877/5.048, allocations: 1.266 MB / 3.516 GB, free: 52.16 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/5.048, allocations: 15.97 kB / 3.516 GB, free: 52.15 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/5.05, allocations: 338.2 kB / 3.517 GB, free: 51.82 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/5.051, allocations: 0.8634 MB / 3.517 GB, free: 50.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/5.051, allocations: 28 kB / 3.517 GB, free: 50.88 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.491e-05/5.051, allocations: 52 kB / 3.518 GB, free: 50.83 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001031/5.052, allocations: 0.7302 MB / 3.518 GB, free: 50.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/5.053, allocations: 0.8571 MB / 3.519 GB, free: 49.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/5.054, allocations: 3.984 kB / 3.519 GB, free: 49.22 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.636e-05/5.054, allocations: 7.984 kB / 3.519 GB, free: 49.21 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/5.054, allocations: 30 kB / 3.519 GB, free: 49.18 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/5.057, allocations: 3.33 MB / 3.522 GB, free: 45.64 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/5.058, allocations: 451.2 kB / 3.523 GB, free: 45.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/5.058, allocations: 254.1 kB / 3.523 GB, free: 44.95 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/5.058, allocations: 101.5 kB / 3.523 GB, free: 44.83 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/5.059, allocations: 42.94 kB / 3.523 GB, free: 44.78 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/5.059, allocations: 0 / 3.523 GB, free: 44.78 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.002356/5.061, allocations: 1.35 MB / 3.524 GB, free: 43.37 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.546e-05/5.061, allocations: 59.83 kB / 3.525 GB, free: 43.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004857/5.061, allocations: 0.5311 MB / 3.525 GB, free: 42.76 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/5.061, allocations: 29.7 kB / 3.525 GB, free: 42.73 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/5.062, allocations: 398.8 kB / 3.525 GB, free: 42.33 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.676e-05/5.062, allocations: 165.5 kB / 3.526 GB, free: 42.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-05/5.062, allocations: 0 / 3.526 GB, free: 42.16 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/5.062, allocations: 382.8 kB / 3.526 GB, free: 41.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/5.062, allocations: 201.2 kB / 3.526 GB, free: 41.59 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/5.062, allocations: 337.1 kB / 3.527 GB, free: 41.2 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/5.065, allocations: 0.8843 MB / 3.527 GB, free: 40.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/5.065, allocations: 8 kB / 3.527 GB, free: 40.29 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000969/5.066, allocations: 0.6849 MB / 3.528 GB, free: 39.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/5.066, allocations: 8 kB / 3.528 GB, free: 39.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/5.066, allocations: 4 kB / 3.528 GB, free: 39.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002772/5.066, allocations: 89.66 kB / 3.528 GB, free: 39.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005473/5.066, allocations: 135.8 kB / 3.528 GB, free: 39.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/5.068, allocations: 2.774 MB / 3.531 GB, free: 36.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/5.069, allocations: 59.86 kB / 3.531 GB, free: 36.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/5.069, allocations: 28.05 kB / 3.531 GB, free: 36.27 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001306/5.069, allocations: 112.9 kB / 3.531 GB, free: 36.16 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/5.069, allocations: 83.06 kB / 3.531 GB, free: 36.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/5.069, allocations: 83.22 kB / 3.531 GB, free: 35.99 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/5.069, allocations: 8 kB / 3.531 GB, free: 35.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/5.069, allocations: 0 / 3.531 GB, free: 35.98 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007307/5.07, allocations: 0.7948 MB / 3.532 GB, free: 35.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/5.072, allocations: 1.593 MB / 3.534 GB, free: 33.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/5.072, allocations: 4 kB / 3.534 GB, free: 33.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005099/5.073, allocations: 120 kB / 3.534 GB, free: 33.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/5.073, allocations: 73.16 kB / 3.534 GB, free: 33.22 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/5.073, allocations: 4 kB / 3.534 GB, free: 33.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/5.074, allocations: 1.502 MB / 3.535 GB, free: 31.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/5.074, allocations: 7.938 kB / 3.535 GB, free: 31.59 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001046/5.075, allocations: 1.136 MB / 3.536 GB, free: 30.31 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/5.075, allocations: 228.2 kB / 3.537 GB, free: 30.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/5.075, allocations: 7.906 kB / 3.537 GB, free: 30.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/5.076, allocations: 63.88 kB / 3.537 GB, free: 30 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/5.076, allocations: 35.86 kB / 3.537 GB, free: 29.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/5.076, allocations: 32.17 kB / 3.537 GB, free: 29.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003417/5.077, allocations: 415.1 kB / 3.537 GB, free: 29.53 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001111/5.078, allocations: 368 kB / 3.538 GB, free: 29.17 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/5.079, allocations: 1.45 MB / 3.539 GB, free: 27.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007355/5.08, allocations: 0.6915 MB / 3.54 GB, free: 26.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/5.08, allocations: 0 / 3.54 GB, free: 26.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/5.08, allocations: 342.8 kB / 3.54 GB, free: 26.62 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/5.082, allocations: 441 kB / 3.54 GB, free: 26.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/5.084, allocations: 1.359 MB / 3.542 GB, free: 24.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/5.084, allocations: 1.179 MB / 3.543 GB, free: 23.56 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/5.084, allocations: 0 / 3.543 GB, free: 23.56 MB / 0.8698 GB Notification: Performance of Templates: time 0.02798/5.112, allocations: 23.28 MB / 3.566 GB, free: 432 kB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches