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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.325/2.325, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001231/0.00123, allocations: 188.2 kB / 498.1 MB, free: 5.684 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.602/1.602, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.0009761/0.0009762, allocations: 107.7 kB / 0.9346 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003491, allocations: 6.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2899, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.444/4.734, allocations: 1.92 GB / 3.142 GB, free: 66.79 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003777/4.735, allocations: 100.5 kB / 3.143 GB, free: 66.73 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.675/6.41, allocations: 469.5 MB / 3.601 GB, free: 70.25 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.353e-06/6.41, allocations: 0 / 3.601 GB, free: 70.25 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001257/6.41, allocations: 28 kB / 3.601 GB, free: 70.22 MB / 1.167 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.003885/6.414, allocations: 1.383 MB / 3.602 GB, free: 68.79 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/6.414, allocations: 11.98 kB / 3.602 GB, free: 68.77 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/6.417, allocations: 310.4 kB / 3.603 GB, free: 68.47 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/6.419, allocations: 0.8517 MB / 3.604 GB, free: 67.57 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.816e-05/6.419, allocations: 69.95 kB / 3.604 GB, free: 67.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/6.419, allocations: 84 kB / 3.604 GB, free: 67.42 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/6.421, allocations: 0.9819 MB / 3.605 GB, free: 66.43 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.764e-05/6.421, allocations: 0 / 3.605 GB, free: 66.43 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/6.422, allocations: 40 kB / 3.605 GB, free: 66.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/6.422, allocations: 30 kB / 3.605 GB, free: 66.36 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/6.423, allocations: 0.8197 MB / 3.606 GB, free: 65.54 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005568/6.429, allocations: 3.47 MB / 3.609 GB, free: 61.85 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008297/6.429, allocations: 477.4 kB / 3.609 GB, free: 61.38 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/6.43, allocations: 101.5 kB / 3.609 GB, free: 61.26 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/6.43, allocations: 43 kB / 3.609 GB, free: 61.21 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 3.516e-06/6.43, allocations: 0 / 3.609 GB, free: 61.21 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.004551/6.434, allocations: 1.834 MB / 3.611 GB, free: 59.27 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/6.434, allocations: 59.83 kB / 3.611 GB, free: 59.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/6.435, allocations: 0.7113 MB / 3.612 GB, free: 58.48 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.501e-05/6.436, allocations: 37.7 kB / 3.612 GB, free: 58.44 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/6.436, allocations: 487.2 kB / 3.613 GB, free: 57.96 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/6.436, allocations: 165.6 kB / 3.613 GB, free: 57.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/6.436, allocations: 12 kB / 3.613 GB, free: 57.79 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.18e-05/6.436, allocations: 330 kB / 3.613 GB, free: 57.46 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/6.437, allocations: 241.2 kB / 3.613 GB, free: 57.22 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/6.437, allocations: 390.2 kB / 3.614 GB, free: 56.79 MB / 1.167 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.002647/6.44, allocations: 0.9716 MB / 3.615 GB, free: 55.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/6.44, allocations: 8 kB / 3.615 GB, free: 55.79 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001218/6.441, allocations: 0.7732 MB / 3.615 GB, free: 55.01 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/6.441, allocations: 11.88 kB / 3.615 GB, free: 55 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/6.441, allocations: 7.938 kB / 3.615 GB, free: 54.99 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/6.441, allocations: 57.69 kB / 3.615 GB, free: 54.93 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/6.442, allocations: 139.8 kB / 3.616 GB, free: 54.79 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/6.444, allocations: 2.787 MB / 3.618 GB, free: 51.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/6.445, allocations: 68.02 kB / 3.618 GB, free: 51.66 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/6.445, allocations: 20 kB / 3.618 GB, free: 51.64 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 () * Number of clocked 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.0007224/6.446, allocations: 309.3 kB / 3.619 GB, free: 51.33 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002301/6.446, allocations: 90.97 kB / 3.619 GB, free: 51.24 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002461/6.446, allocations: 104.7 kB / 3.619 GB, free: 51.13 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/6.446, allocations: 4 kB / 3.619 GB, free: 51.13 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/6.446, allocations: 0 / 3.619 GB, free: 51.13 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008681/6.447, allocations: 0.827 MB / 3.62 GB, free: 50.21 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/6.45, allocations: 1.724 MB / 3.621 GB, free: 48.39 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/6.45, allocations: 0 / 3.621 GB, free: 48.39 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005073/6.45, allocations: 115.8 kB / 3.621 GB, free: 48.28 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.918e-05/6.451, allocations: 32.84 kB / 3.621 GB, free: 48.24 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/6.451, allocations: 16 kB / 3.621 GB, free: 48.23 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008389/6.451, allocations: 1.433 MB / 3.623 GB, free: 46.66 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/6.451, allocations: 11.94 kB / 3.623 GB, free: 46.65 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/6.453, allocations: 1.176 MB / 3.624 GB, free: 45.33 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/6.453, allocations: 232 kB / 3.624 GB, free: 45.09 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/6.454, allocations: 23.89 kB / 3.624 GB, free: 45.06 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009082/6.455, allocations: 63.86 kB / 3.624 GB, free: 45 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/6.455, allocations: 35.95 kB / 3.624 GB, free: 44.96 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/6.455, allocations: 31.98 kB / 3.624 GB, free: 44.93 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007768/6.456, allocations: 0.5536 MB / 3.625 GB, free: 44.39 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/6.456, allocations: 0 / 3.625 GB, free: 44.39 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001701/6.457, allocations: 392 kB / 3.625 GB, free: 44 MB / 1.167 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 () * Number of clocked 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.002135/6.459, allocations: 1.28 MB / 3.627 GB, free: 42.69 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001392/6.461, allocations: 0.7773 MB / 3.627 GB, free: 41.89 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/6.461, allocations: 0 / 3.627 GB, free: 41.89 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005048/6.461, allocations: 390.3 kB / 3.628 GB, free: 41.49 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/6.464, allocations: 0.566 MB / 3.628 GB, free: 40.93 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/6.467, allocations: 2.175 MB / 3.63 GB, free: 38.69 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/6.468, allocations: 1.111 MB / 3.631 GB, free: 37.55 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001028/6.469, allocations: 207.7 kB / 3.632 GB, free: 37.34 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/6.469, allocations: 71.42 kB / 3.632 GB, free: 37.27 MB / 1.167 GB Notification: Performance of SimCode: time 7.92e-07/6.469, allocations: 0 / 3.632 GB, free: 37.27 MB / 1.167 GB Notification: Performance of Templates: time 0.0457/6.515, allocations: 33.36 MB / 3.664 GB, free: 4.156 MB / 1.167 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