Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.Xi.1.|volSte.Xi.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow") [: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.095/2.095, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001484/0.001484, allocations: 185.2 kB / 487 MB, free: 5.305 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.493/1.493, allocations: 221.3 MB / 0.7819 GB, free: 1.344 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.001114/0.001114, allocations: 111.5 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.458e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2896, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.536/4.826, allocations: 1.919 GB / 3.124 GB, free: 400.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/4.826, allocations: 95.83 kB / 3.124 GB, free: 400.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.594/6.42, allocations: 468.4 MB / 3.582 GB, free: 301.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.989e-05/6.42, allocations: 32.36 kB / 3.582 GB, free: 301.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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002639/6.423, allocations: 1.237 MB / 3.583 GB, free: 300.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/6.423, allocations: 13.62 kB / 3.583 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/6.425, allocations: 329.5 kB / 3.583 GB, free: 300.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/6.426, allocations: 0.8618 MB / 3.584 GB, free: 300.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/6.426, allocations: 26 kB / 3.584 GB, free: 300.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/6.427, allocations: 61.47 kB / 3.584 GB, free: 300.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001265/6.428, allocations: 0.7334 MB / 3.585 GB, free: 300.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/6.429, allocations: 0.8423 MB / 3.586 GB, free: 300.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/6.429, allocations: 0 / 3.586 GB, free: 300.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.763e-05/6.429, allocations: 3.188 kB / 3.586 GB, free: 300.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/6.429, allocations: 29.81 kB / 3.586 GB, free: 300.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004895/6.434, allocations: 3.4 MB / 3.589 GB, free: 299 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/6.435, allocations: 299 kB / 3.589 GB, free: 299 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/6.435, allocations: 263.2 kB / 3.589 GB, free: 299 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/6.435, allocations: 102.8 kB / 3.59 GB, free: 298.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/6.435, allocations: 45.19 kB / 3.59 GB, free: 298.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 2.655e-06/6.435, allocations: 0 / 3.59 GB, free: 298.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.002889/6.438, allocations: 1.344 MB / 3.591 GB, free: 298.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/6.438, allocations: 59.5 kB / 3.591 GB, free: 298.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/6.439, allocations: 0.5249 MB / 3.591 GB, free: 298.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/6.439, allocations: 29.67 kB / 3.591 GB, free: 298.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/6.439, allocations: 389.5 kB / 3.592 GB, free: 298 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/6.439, allocations: 169.3 kB / 3.592 GB, free: 297.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/6.439, allocations: 3.062 kB / 3.592 GB, free: 297.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000137/6.439, allocations: 377.7 kB / 3.592 GB, free: 297.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/6.44, allocations: 214 kB / 3.593 GB, free: 297.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/6.44, allocations: 348.6 kB / 3.593 GB, free: 297.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.002565/6.443, allocations: 0.9403 MB / 3.594 GB, free: 297.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/6.443, allocations: 3.812 kB / 3.594 GB, free: 297.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001021/6.444, allocations: 0.6866 MB / 3.595 GB, free: 297.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/6.444, allocations: 5.938 kB / 3.595 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/6.444, allocations: 3.688 kB / 3.595 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001949/6.444, allocations: 65.06 kB / 3.595 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/6.445, allocations: 129.8 kB / 3.595 GB, free: 297.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/6.447, allocations: 2.642 MB / 3.597 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/6.448, allocations: 55.27 kB / 3.597 GB, free: 294.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.965e-05/6.448, allocations: 22.53 kB / 3.597 GB, free: 294.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: 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 (71): * Single equations (assignments): 69 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002329/6.448, allocations: 124.4 kB / 3.597 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/6.448, allocations: 79.81 kB / 3.598 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/6.448, allocations: 82.83 kB / 3.598 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/6.448, allocations: 3.875 kB / 3.598 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/6.448, allocations: 3.906 kB / 3.598 GB, free: 294.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007835/6.449, allocations: 0.7659 MB / 3.598 GB, free: 294.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/6.452, allocations: 1.567 MB / 3.6 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/6.452, allocations: 0 / 3.6 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/6.452, allocations: 116.2 kB / 3.6 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001078/6.452, allocations: 45.81 kB / 3.6 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/6.452, allocations: 6.594 kB / 3.6 GB, free: 293.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009695/6.453, allocations: 1.347 MB / 3.601 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/6.453, allocations: 3.844 kB / 3.601 GB, free: 292.6 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001348/6.455, allocations: 1.099 MB / 3.602 GB, free: 292.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003918/6.455, allocations: 225.1 kB / 3.603 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/6.455, allocations: 7.438 kB / 3.603 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/6.456, allocations: 55.48 kB / 3.603 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/6.456, allocations: 34.36 kB / 3.603 GB, free: 292 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/6.456, allocations: 30.77 kB / 3.603 GB, free: 292 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005339/6.457, allocations: 411.7 kB / 3.603 GB, free: 291.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001586/6.458, allocations: 352.5 kB / 3.604 GB, free: 291.9 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 (47): * Single equations (assignments): 46 * 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 Backend phase and start with SimCode phase: time 0.002159/6.461, allocations: 1.436 MB / 3.605 GB, free: 291.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001213/6.462, allocations: 0.699 MB / 3.606 GB, free: 291.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/6.462, allocations: 7.594 kB / 3.606 GB, free: 291.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004178/6.462, allocations: 349.4 kB / 3.606 GB, free: 291.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/6.465, allocations: 427.2 kB / 3.606 GB, free: 291.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/6.468, allocations: 1.358 MB / 3.608 GB, free: 290.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007642/6.468, allocations: 1.174 MB / 3.609 GB, free: 290.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.61e-07/6.468, allocations: 0 / 3.609 GB, free: 290.1 MB / 1.151 GB Notification: Performance of Templates: time 0.0397/6.508, allocations: 22.46 MB / 3.631 GB, free: 289.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches