Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.006/2.006, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.001155/0.001155, allocations: 181.3 kB / 490.8 MB, free: 1.945 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.283/1.283, allocations: 221.3 MB / 0.7863 GB, free: 13.7 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.0009067/0.0009066, allocations: 93.66 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.624e-06/7.664e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.25, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.684/4.934, allocations: 1.919 GB / 3.131 GB, free: 398 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/4.935, allocations: 83.95 kB / 3.131 GB, free: 397.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.54/6.475, allocations: 465.4 MB / 3.585 GB, free: 299.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001241/6.475, allocations: 38.28 kB / 3.585 GB, free: 299.2 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003697/6.479, allocations: 1.253 MB / 3.587 GB, free: 298.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/6.479, allocations: 11.16 kB / 3.587 GB, free: 298.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/6.482, allocations: 330.1 kB / 3.587 GB, free: 298.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/6.484, allocations: 0.853 MB / 3.588 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/6.484, allocations: 27.62 kB / 3.588 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002821/6.484, allocations: 53.72 kB / 3.588 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001713/6.486, allocations: 0.7384 MB / 3.589 GB, free: 298.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/6.488, allocations: 0.8366 MB / 3.589 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/6.488, allocations: 0 / 3.589 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.123e-05/6.488, allocations: 3.75 kB / 3.589 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/6.488, allocations: 33.91 kB / 3.589 GB, free: 298.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005543/6.494, allocations: 3.396 MB / 3.593 GB, free: 296.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/6.494, allocations: 455 kB / 3.593 GB, free: 296.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/6.495, allocations: 252.2 kB / 3.593 GB, free: 296.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/6.495, allocations: 109.4 kB / 3.594 GB, free: 296.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/6.495, allocations: 46.28 kB / 3.594 GB, free: 296.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/6.495, allocations: 0 / 3.594 GB, free: 296.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.003006/6.498, allocations: 1.347 MB / 3.595 GB, free: 296.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.621e-05/6.498, allocations: 58.22 kB / 3.595 GB, free: 296.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/6.498, allocations: 0.5259 MB / 3.595 GB, free: 296.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/6.499, allocations: 25.7 kB / 3.595 GB, free: 296.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/6.499, allocations: 384.1 kB / 3.596 GB, free: 295.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/6.499, allocations: 165.5 kB / 3.596 GB, free: 295.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/6.499, allocations: 0 / 3.596 GB, free: 295.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001158/6.499, allocations: 385.5 kB / 3.596 GB, free: 295.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/6.499, allocations: 214.1 kB / 3.597 GB, free: 295.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/6.5, allocations: 325.8 kB / 3.597 GB, free: 295.4 MB / 1.151 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.002627/6.502, allocations: 0.9565 MB / 3.598 GB, free: 295.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/6.502, allocations: 3.906 kB / 3.598 GB, free: 295.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001078/6.503, allocations: 0.6973 MB / 3.599 GB, free: 295.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/6.503, allocations: 3.656 kB / 3.599 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/6.503, allocations: 7.875 kB / 3.599 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003011/6.504, allocations: 94.42 kB / 3.599 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005771/6.504, allocations: 126 kB / 3.599 GB, free: 295.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/6.506, allocations: 2.779 MB / 3.601 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/6.507, allocations: 54.73 kB / 3.602 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/6.507, allocations: 24.38 kB / 3.602 GB, free: 292.8 MB / 1.151 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: 12 * 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.0001859/6.508, allocations: 126.4 kB / 3.602 GB, free: 292.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/6.508, allocations: 83.95 kB / 3.602 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/6.508, allocations: 83.22 kB / 3.602 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/6.508, allocations: 7.219 kB / 3.602 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/6.508, allocations: 3.906 kB / 3.602 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008374/6.509, allocations: 0.7917 MB / 3.603 GB, free: 292.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/6.511, allocations: 1.587 MB / 3.604 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/6.511, allocations: 0 / 3.604 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000518/6.512, allocations: 118.6 kB / 3.604 GB, free: 291.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/6.512, allocations: 63.44 kB / 3.604 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/6.512, allocations: 10.94 kB / 3.604 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/6.513, allocations: 1.509 MB / 3.606 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/6.513, allocations: 3.875 kB / 3.606 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001224/6.514, allocations: 1.126 MB / 3.607 GB, free: 290 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/6.515, allocations: 219.6 kB / 3.607 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/6.515, allocations: 7.938 kB / 3.607 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/6.516, allocations: 53 kB / 3.607 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.892e-05/6.516, allocations: 29.22 kB / 3.607 GB, free: 289.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/6.516, allocations: 32.67 kB / 3.607 GB, free: 289.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004509/6.516, allocations: 413.6 kB / 3.608 GB, free: 289.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001361/6.517, allocations: 365.3 kB / 3.608 GB, free: 289.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.001722/6.519, allocations: 1.445 MB / 3.609 GB, free: 289.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009471/6.52, allocations: 0.6986 MB / 3.61 GB, free: 289.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/6.52, allocations: 0 / 3.61 GB, free: 289.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/6.521, allocations: 340.8 kB / 3.61 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/6.523, allocations: 438.3 kB / 3.611 GB, free: 289.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/6.525, allocations: 1.339 MB / 3.612 GB, free: 288.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/6.526, allocations: 1.167 MB / 3.613 GB, free: 288 MB / 1.151 GB Notification: Performance of SimCode: time 6.51e-07/6.526, allocations: 0 / 3.613 GB, free: 288 MB / 1.151 GB Notification: Performance of Templates: time 0.04125/6.567, allocations: 22.88 MB / 3.636 GB, free: 287.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches