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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.498/2.498, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001036/0.001036, allocations: 176 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.832/1.832, allocations: 221.3 MB / 0.7915 GB, free: 5.395 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.001248/0.001249, allocations: 95.88 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.434e-05/4.436e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.41, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.495/6.906, allocations: 1.92 GB / 3.139 GB, free: 394.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/6.906, allocations: 83.95 kB / 3.139 GB, free: 394.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.659/8.565, allocations: 469.1 MB / 3.597 GB, free: 304.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.012e-06/8.565, allocations: 0 / 3.597 GB, free: 304.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.00013/8.565, allocations: 32.78 kB / 3.597 GB, free: 304.3 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.003606/8.569, allocations: 1.246 MB / 3.598 GB, free: 303.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/8.569, allocations: 11.41 kB / 3.598 GB, free: 303.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/8.571, allocations: 307.7 kB / 3.599 GB, free: 303.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/8.573, allocations: 0.8452 MB / 3.6 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/8.573, allocations: 64.38 kB / 3.6 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002257/8.573, allocations: 85.03 kB / 3.6 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/8.575, allocations: 0.9508 MB / 3.601 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/8.575, allocations: 10.47 kB / 3.601 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/8.575, allocations: 40 kB / 3.601 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/8.575, allocations: 30.44 kB / 3.601 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/8.577, allocations: 0.763 MB / 3.601 GB, free: 303.3 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or 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.005299/8.582, allocations: 3.471 MB / 3.605 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/8.583, allocations: 456.4 kB / 3.605 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/8.583, allocations: 263.3 kB / 3.606 GB, free: 302 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/8.583, allocations: 107.6 kB / 3.606 GB, free: 301.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/8.583, allocations: 47.66 kB / 3.606 GB, free: 301.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 2.785e-06/8.583, allocations: 0 / 3.606 GB, free: 301.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.002907/8.586, allocations: 1.394 MB / 3.607 GB, free: 301.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/8.586, allocations: 58.5 kB / 3.607 GB, free: 301.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000983/8.587, allocations: 0.6985 MB / 3.608 GB, free: 301.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-05/8.587, allocations: 40.67 kB / 3.608 GB, free: 301.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/8.588, allocations: 476.9 kB / 3.608 GB, free: 301 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/8.588, allocations: 175.8 kB / 3.608 GB, free: 300.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/8.588, allocations: 13.56 kB / 3.608 GB, free: 300.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.852e-05/8.588, allocations: 331.6 kB / 3.609 GB, free: 300.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/8.588, allocations: 213.8 kB / 3.609 GB, free: 300.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/8.589, allocations: 365.4 kB / 3.609 GB, free: 300.5 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.002479/8.591, allocations: 0.9426 MB / 3.61 GB, free: 300.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/8.591, allocations: 0 / 3.61 GB, free: 300.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001148/8.592, allocations: 0.7494 MB / 3.611 GB, free: 300.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/8.593, allocations: 6.719 kB / 3.611 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/8.593, allocations: 0 / 3.611 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002024/8.593, allocations: 63.95 kB / 3.611 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/8.593, allocations: 134.4 kB / 3.611 GB, free: 300.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/8.595, allocations: 2.764 MB / 3.614 GB, free: 297.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/8.596, allocations: 64.72 kB / 3.614 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/8.596, allocations: 28.55 kB / 3.614 GB, free: 297.7 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 () * 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.0001678/8.596, allocations: 148.6 kB / 3.614 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/8.596, allocations: 93.34 kB / 3.614 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/8.597, allocations: 98.61 kB / 3.614 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/8.597, allocations: 3.375 kB / 3.614 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/8.597, allocations: 4 kB / 3.614 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007478/8.597, allocations: 0.7924 MB / 3.615 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/8.6, allocations: 1.694 MB / 3.617 GB, free: 296.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/8.6, allocations: 3.188 kB / 3.617 GB, free: 296.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/8.601, allocations: 114.2 kB / 3.617 GB, free: 296.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/8.601, allocations: 36.94 kB / 3.617 GB, free: 296.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.953e-05/8.601, allocations: 14.91 kB / 3.617 GB, free: 296.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008469/8.602, allocations: 1.41 MB / 3.618 GB, free: 295.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/8.602, allocations: 11.05 kB / 3.618 GB, free: 295.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/8.603, allocations: 1.125 MB / 3.619 GB, free: 294.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/8.604, allocations: 231.5 kB / 3.62 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/8.604, allocations: 15.97 kB / 3.62 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008997/8.605, allocations: 60.19 kB / 3.62 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/8.605, allocations: 41.44 kB / 3.62 GB, free: 294.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.122e-05/8.605, allocations: 38.7 kB / 3.62 GB, free: 294.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008179/8.606, allocations: 0.5435 MB / 3.62 GB, free: 294.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/8.606, allocations: 0 / 3.62 GB, free: 294.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00175/8.608, allocations: 395.3 kB / 3.621 GB, free: 294.7 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 () * 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.002192/8.61, allocations: 1.272 MB / 3.622 GB, free: 294.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001362/8.611, allocations: 0.7435 MB / 3.623 GB, free: 294.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/8.611, allocations: 3.812 kB / 3.623 GB, free: 294.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004826/8.612, allocations: 360.4 kB / 3.623 GB, free: 294 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/8.614, allocations: 0.5689 MB / 3.624 GB, free: 294 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/8.617, allocations: 1.391 MB / 3.625 GB, free: 293.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/8.618, allocations: 1.109 MB / 3.626 GB, free: 292.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001051/8.619, allocations: 218.2 kB / 3.626 GB, free: 292.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/8.619, allocations: 67.31 kB / 3.626 GB, free: 292.8 MB / 1.167 GB Notification: Performance of SimCode: time 7.02e-07/8.619, allocations: 6.625 kB / 3.626 GB, free: 292.8 MB / 1.167 GB Notification: Performance of Templates: time 0.07978/8.699, allocations: 36.73 MB / 3.662 GB, free: 290.2 MB / 1.167 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