Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.009/2.009, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001426/0.001425, allocations: 185.3 kB / 490.8 MB, free: 1.938 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.477/1.477, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.001003/0.001003, allocations: 95.84 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/9.969e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.35, allocations: 143 MB / 1.212 GB, free: 40.11 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.661/5.011, allocations: 1.92 GB / 3.131 GB, free: 409.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/5.012, allocations: 83.95 kB / 3.131 GB, free: 409.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.334/6.345, allocations: 468.4 MB / 3.589 GB, free: 296.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001015/6.345, allocations: 29.41 kB / 3.589 GB, free: 296.9 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.002866/6.348, allocations: 1.245 MB / 3.59 GB, free: 296.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/6.348, allocations: 7.688 kB / 3.59 GB, free: 296.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/6.351, allocations: 337.2 kB / 3.59 GB, free: 296.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/6.353, allocations: 0.8556 MB / 3.591 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/6.353, allocations: 25.84 kB / 3.591 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/6.353, allocations: 54.06 kB / 3.591 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001436/6.354, allocations: 0.7389 MB / 3.592 GB, free: 296 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/6.356, allocations: 0.845 MB / 3.593 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/6.356, allocations: 6.562 kB / 3.593 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/6.356, allocations: 0 / 3.593 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/6.356, allocations: 34.42 kB / 3.593 GB, free: 295.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005099/6.361, allocations: 3.414 MB / 3.596 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/6.362, allocations: 295.6 kB / 3.596 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/6.362, allocations: 258.1 kB / 3.597 GB, free: 294.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/6.362, allocations: 98.56 kB / 3.597 GB, free: 294.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/6.362, allocations: 44.59 kB / 3.597 GB, free: 294.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 1.793e-06/6.362, allocations: 3.844 kB / 3.597 GB, free: 294.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=49): time 0.002796/6.365, allocations: 1.341 MB / 3.598 GB, free: 294 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/6.365, allocations: 59.69 kB / 3.598 GB, free: 294 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005787/6.365, allocations: 0.5275 MB / 3.599 GB, free: 293.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/6.366, allocations: 29.55 kB / 3.599 GB, free: 293.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/6.366, allocations: 386.3 kB / 3.599 GB, free: 293.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/6.366, allocations: 168 kB / 3.599 GB, free: 293.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/6.366, allocations: 2.953 kB / 3.599 GB, free: 293.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/6.366, allocations: 380.3 kB / 3.6 GB, free: 293.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002772/6.366, allocations: 217.3 kB / 3.6 GB, free: 293.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003326/6.367, allocations: 346.9 kB / 3.6 GB, free: 293.1 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.002495/6.369, allocations: 0.9391 MB / 3.601 GB, free: 293 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/6.369, allocations: 0 / 3.601 GB, free: 293 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009699/6.37, allocations: 0.686 MB / 3.602 GB, free: 292.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/6.37, allocations: 7.469 kB / 3.602 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/6.37, allocations: 3.5 kB / 3.602 GB, free: 292.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/6.37, allocations: 61.19 kB / 3.602 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000582/6.371, allocations: 136.4 kB / 3.602 GB, free: 292.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/6.373, allocations: 2.638 MB / 3.604 GB, free: 290.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008893/6.373, allocations: 54.06 kB / 3.604 GB, free: 290.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/6.374, allocations: 24.5 kB / 3.604 GB, free: 290.4 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.000153/6.374, allocations: 121.3 kB / 3.605 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/6.374, allocations: 81.56 kB / 3.605 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/6.374, allocations: 84.8 kB / 3.605 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/6.374, allocations: 7.844 kB / 3.605 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/6.374, allocations: 0 / 3.605 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006625/6.375, allocations: 0.7705 MB / 3.606 GB, free: 289.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/6.377, allocations: 1.561 MB / 3.607 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/6.377, allocations: 3.969 kB / 3.607 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/6.377, allocations: 121.2 kB / 3.607 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.671e-05/6.378, allocations: 31.05 kB / 3.607 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/6.378, allocations: 10.22 kB / 3.607 GB, free: 289.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007617/6.378, allocations: 1.347 MB / 3.609 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/6.378, allocations: 11.56 kB / 3.609 GB, free: 288.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00103/6.379, allocations: 1.098 MB / 3.61 GB, free: 287.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003588/6.38, allocations: 221.6 kB / 3.61 GB, free: 287.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/6.38, allocations: 3.594 kB / 3.61 GB, free: 287.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007712/6.381, allocations: 57.05 kB / 3.61 GB, free: 287.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/6.381, allocations: 36.83 kB / 3.61 GB, free: 287.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/6.381, allocations: 32.86 kB / 3.61 GB, free: 287.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003915/6.381, allocations: 413 kB / 3.61 GB, free: 287.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001178/6.382, allocations: 353 kB / 3.611 GB, free: 287.5 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.001763/6.384, allocations: 1.434 MB / 3.612 GB, free: 287.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008977/6.385, allocations: 0.7057 MB / 3.613 GB, free: 287 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/6.385, allocations: 0 / 3.613 GB, free: 287 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/6.385, allocations: 350.6 kB / 3.613 GB, free: 286.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/6.387, allocations: 433.6 kB / 3.614 GB, free: 286.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/6.39, allocations: 1.351 MB / 3.615 GB, free: 286.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008567/6.391, allocations: 1.179 MB / 3.616 GB, free: 285.7 MB / 1.151 GB Notification: Performance of SimCode: time 3.61e-07/6.391, allocations: 0 / 3.616 GB, free: 285.7 MB / 1.151 GB Notification: Performance of Templates: time 0.03163/6.422, allocations: 22.45 MB / 3.638 GB, free: 285.1 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMoistureReverseFlow.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMoistureReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches