Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001603, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.334/2.334, allocations: 390.2 MB / 0.6646 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.91 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6135/0.6148, allocations: 140.4 MB / 0.9496 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.226/0.8409, allocations: 190.5 MB / 1.136 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01156/0.8525, allocations: 5.705 MB / 1.141 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.8544, allocations: 43.75 kB / 1.141 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.8563, allocations: 0.5668 MB / 1.142 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004861/0.8612, allocations: 1.828 MB / 1.144 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.8643, allocations: 1.174 MB / 1.145 GB, free: 9.328 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004404/0.8687, allocations: 2.948 MB / 1.148 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00154/0.8703, allocations: 1.124 MB / 1.149 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.8721, allocations: 1.051 MB / 1.15 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001733/0.8738, allocations: 0.9614 MB / 1.151 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.874, allocations: 128 kB / 1.151 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.877, allocations: 1.442 MB / 1.152 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005936/0.8776, allocations: 0.5689 MB / 1.153 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008378/0.8784, allocations: 0.7273 MB / 1.153 GB, free: 352 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003207/0.8816, allocations: 2.31 MB / 1.156 GB, free: 14.03 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8817, allocations: 0 / 1.156 GB, free: 14.03 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8817, allocations: 0 / 1.156 GB, free: 14.03 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.888e-05/0.8817, allocations: 0 / 1.156 GB, free: 14.03 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002613/0.8843, allocations: 1.621 MB / 1.157 GB, free: 12.36 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.8844, allocations: 15.97 kB / 1.157 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.8864, allocations: 326.2 kB / 1.158 GB, free: 12.02 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.8877, allocations: 0.8668 MB / 1.158 GB, free: 11.11 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.8878, allocations: 74 kB / 1.159 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.888, allocations: 96 kB / 1.159 GB, free: 10.94 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.8898, allocations: 1.092 MB / 1.16 GB, free: 9.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.8899, allocations: 0 / 1.16 GB, free: 9.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.89, allocations: 51.98 kB / 1.16 GB, free: 9.789 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.917e-05/0.89, allocations: 45.98 kB / 1.16 GB, free: 9.746 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.8917, allocations: 0.9837 MB / 1.161 GB, free: 8.762 MB / 0.92 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.006268/0.8979, allocations: 4.274 MB / 1.165 GB, free: 4.191 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000912/0.8989, allocations: 0.5986 MB / 1.165 GB, free: 3.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.8994, allocations: 348.5 kB / 1.166 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.8996, allocations: 109.5 kB / 1.166 GB, free: 3.117 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.8997, allocations: 39 kB / 1.166 GB, free: 3.07 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.254e-06/0.8997, allocations: 0 / 1.166 GB, free: 3.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=55): time 0.003997/0.9037, allocations: 2.197 MB / 1.168 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.9038, allocations: 63.91 kB / 1.168 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.9049, allocations: 0.8766 MB / 1.169 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-05/0.905, allocations: 41.7 kB / 1.169 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.9055, allocations: 0.5184 MB / 1.17 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.9058, allocations: 193.2 kB / 1.17 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/0.906, allocations: 126.6 kB / 1.17 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.9062, allocations: 338 kB / 1.17 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.9067, allocations: 289.8 kB / 1.17 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.9074, allocations: 437 kB / 1.171 GB, free: 13.8 MB / 0.9356 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.004065/0.9115, allocations: 1.743 MB / 1.173 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.9115, allocations: 8 kB / 1.173 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001676/0.9132, allocations: 0.9223 MB / 1.173 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.9132, allocations: 4 kB / 1.173 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.9132, allocations: 4 kB / 1.173 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.9134, allocations: 102.5 kB / 1.174 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.9142, allocations: 167.7 kB / 1.174 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003805/0.918, allocations: 4.632 MB / 1.178 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009222/0.9189, allocations: 35.83 kB / 1.178 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.919, allocations: 24 kB / 1.178 GB, free: 5.652 MB / 0.9356 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005458/0.9195, allocations: 357.5 kB / 1.179 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.9197, allocations: 98.88 kB / 1.179 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.9199, allocations: 109.2 kB / 1.179 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.9199, allocations: 7.938 kB / 1.179 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.9199, allocations: 0 / 1.179 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/0.9211, allocations: 0.7614 MB / 1.18 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/0.9243, allocations: 1.988 MB / 1.182 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.9243, allocations: 7.938 kB / 1.182 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007158/0.925, allocations: 144.2 kB / 1.182 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.9251, allocations: 48.83 kB / 1.182 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.9252, allocations: 19.98 kB / 1.182 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.9265, allocations: 1.602 MB / 1.183 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.9265, allocations: 4 kB / 1.183 GB, free: 208 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.9283, allocations: 1.21 MB / 1.185 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.9287, allocations: 251.9 kB / 1.185 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.9288, allocations: 20 kB / 1.185 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007184/0.9296, allocations: 35.97 kB / 1.185 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.9297, allocations: 47.67 kB / 1.185 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.9298, allocations: 35.97 kB / 1.185 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007906/0.9306, allocations: 0.6122 MB / 1.185 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.874e-06/0.9306, allocations: 0 / 1.185 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009285/0.9315, allocations: 307.9 kB / 1.186 GB, free: 13.62 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004502/0.932, allocations: 196.5 kB / 1.186 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001744/0.9337, allocations: 1.108 MB / 1.187 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9337, allocations: 0 / 1.187 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006157/0.9344, allocations: 452 kB / 1.187 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/0.937, allocations: 0.6575 MB / 1.188 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.9402, allocations: 2.115 MB / 1.19 GB, free: 9.004 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/0.941, allocations: 1.17 MB / 1.191 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008741/0.9419, allocations: 252.4 kB / 1.192 GB, free: 7.555 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.9421, allocations: 75.44 kB / 1.192 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of SimCode: time 4.6e-07/0.9421, allocations: 4 kB / 1.192 GB, free: 7.477 MB / 0.9512 GB Notification: Performance of Templates: time 0.03936/0.9814, allocations: 22.26 MB / 1.213 GB, free: 1.543 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches