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.405/2.405, allocations: 393.5 MB / 408.4 MB, free: 11 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.00125/0.00125, allocations: 172 kB / 0.4902 GB, free: 2.227 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.78/1.78, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001092/0.001092, allocations: 102.2 kB / 0.9396 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.0004199, allocations: 13.44 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3568, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.835/5.192, allocations: 1.92 GB / 3.15 GB, free: 32.14 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003327/5.193, allocations: 94.95 kB / 3.15 GB, free: 32.09 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.611/6.804, allocations: 469.5 MB / 3.608 GB, free: 34.61 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.623e-06/6.804, allocations: 0 / 3.608 GB, free: 34.61 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001236/6.804, allocations: 35.92 kB / 3.608 GB, free: 34.57 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.003844/6.808, allocations: 1.38 MB / 3.61 GB, free: 33.14 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/6.808, allocations: 8.828 kB / 3.61 GB, free: 33.13 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002243/6.81, allocations: 314.3 kB / 3.61 GB, free: 32.82 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/6.812, allocations: 0.8479 MB / 3.611 GB, free: 31.93 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/6.812, allocations: 69.94 kB / 3.611 GB, free: 31.87 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/6.812, allocations: 84 kB / 3.611 GB, free: 31.79 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/6.814, allocations: 0.9859 MB / 3.612 GB, free: 30.78 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/6.814, allocations: 0 / 3.612 GB, free: 30.78 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/6.814, allocations: 40 kB / 3.612 GB, free: 30.74 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/6.814, allocations: 30 kB / 3.612 GB, free: 30.71 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/6.816, allocations: 0.812 MB / 3.613 GB, free: 29.9 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.005157/6.821, allocations: 3.481 MB / 3.616 GB, free: 26.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/6.822, allocations: 468.5 kB / 3.616 GB, free: 25.73 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/6.822, allocations: 109.5 kB / 3.617 GB, free: 25.61 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/6.822, allocations: 43 kB / 3.617 GB, free: 25.55 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 2.956e-06/6.822, allocations: 0 / 3.617 GB, free: 25.55 MB / 1.167 GB Notification: Performance of matching and sorting (n=49): time 0.003507/6.825, allocations: 1.83 MB / 3.618 GB, free: 23.62 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/6.825, allocations: 59.83 kB / 3.618 GB, free: 23.55 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008315/6.826, allocations: 0.7074 MB / 3.619 GB, free: 22.84 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.215e-05/6.826, allocations: 41.69 kB / 3.619 GB, free: 22.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000284/6.827, allocations: 475.3 kB / 3.62 GB, free: 22.32 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/6.827, allocations: 173.5 kB / 3.62 GB, free: 22.15 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/6.827, allocations: 12 kB / 3.62 GB, free: 22.14 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.039e-05/6.827, allocations: 334 kB / 3.62 GB, free: 21.81 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/6.827, allocations: 233.2 kB / 3.62 GB, free: 21.58 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004224/6.828, allocations: 386.3 kB / 3.621 GB, free: 21.14 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.00253/6.83, allocations: 0.9831 MB / 3.622 GB, free: 20.14 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/6.83, allocations: 4 kB / 3.622 GB, free: 20.14 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00125/6.832, allocations: 0.7727 MB / 3.622 GB, free: 19.36 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/6.832, allocations: 8.734 kB / 3.622 GB, free: 19.35 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/6.832, allocations: 4.406 kB / 3.622 GB, free: 19.34 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001629/6.832, allocations: 61.69 kB / 3.623 GB, free: 19.28 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/6.832, allocations: 139.9 kB / 3.623 GB, free: 19.14 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/6.834, allocations: 2.787 MB / 3.625 GB, free: 16.09 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/6.835, allocations: 67.77 kB / 3.625 GB, free: 16.02 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/6.835, allocations: 20 kB / 3.625 GB, free: 16 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.0006526/6.836, allocations: 305.5 kB / 3.626 GB, free: 15.69 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/6.836, allocations: 98.92 kB / 3.626 GB, free: 15.59 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/6.837, allocations: 96.72 kB / 3.626 GB, free: 15.49 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/6.837, allocations: 7.938 kB / 3.626 GB, free: 15.48 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/6.837, allocations: 4 kB / 3.626 GB, free: 15.48 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008512/6.837, allocations: 0.827 MB / 3.627 GB, free: 14.57 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002761/6.84, allocations: 1.72 MB / 3.628 GB, free: 12.75 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/6.84, allocations: 0 / 3.628 GB, free: 12.75 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/6.841, allocations: 116.2 kB / 3.629 GB, free: 12.63 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-05/6.841, allocations: 40.84 kB / 3.629 GB, free: 12.59 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/6.841, allocations: 15.94 kB / 3.629 GB, free: 12.57 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008492/6.842, allocations: 1.433 MB / 3.63 GB, free: 11.01 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/6.842, allocations: 12 kB / 3.63 GB, free: 11 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/6.843, allocations: 1.176 MB / 3.631 GB, free: 9.68 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/6.844, allocations: 239.8 kB / 3.631 GB, free: 9.426 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/6.844, allocations: 12 kB / 3.631 GB, free: 9.414 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008308/6.845, allocations: 60.02 kB / 3.631 GB, free: 9.355 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/6.845, allocations: 43.84 kB / 3.632 GB, free: 9.312 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.319e-05/6.845, allocations: 27.98 kB / 3.632 GB, free: 9.285 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006597/6.846, allocations: 0.5576 MB / 3.632 GB, free: 8.73 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.61e-07/6.846, allocations: 0 / 3.632 GB, free: 8.73 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00149/6.847, allocations: 391.9 kB / 3.632 GB, free: 8.348 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.001817/6.849, allocations: 1.271 MB / 3.634 GB, free: 7.047 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001141/6.85, allocations: 0.7804 MB / 3.634 GB, free: 6.234 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/6.85, allocations: 3.938 kB / 3.634 GB, free: 6.23 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004683/6.851, allocations: 391.9 kB / 3.635 GB, free: 5.836 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/6.853, allocations: 0.5599 MB / 3.635 GB, free: 5.285 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/6.856, allocations: 2.168 MB / 3.637 GB, free: 3.047 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/6.856, allocations: 1.111 MB / 3.639 GB, free: 1.906 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008867/6.857, allocations: 219.7 kB / 3.639 GB, free: 1.688 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/6.857, allocations: 71.42 kB / 3.639 GB, free: 1.617 MB / 1.167 GB Notification: Performance of SimCode: time 4.3e-07/6.857, allocations: 3.938 kB / 3.639 GB, free: 1.613 MB / 1.167 GB Notification: Performance of Templates: time 0.6864/7.544, allocations: 33.33 MB / 3.671 GB, free: 304.3 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