Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009624/0.0009624, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8688/0.8688, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.711/1.711, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.254e-05, allocations: 10.22 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.605/0.605, allocations: 168.3 MB / 1.165 GB, free: 9.922 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.006126/0.6112, allocations: 5.415 MB / 1.171 GB, free: 6.238 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004552/0.6116, allocations: 57 kB / 1.171 GB, free: 6.207 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.6126, allocations: 0.5464 MB / 1.171 GB, free: 5.914 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.002778/0.6154, allocations: 1.964 MB / 1.173 GB, free: 4.816 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.6171, allocations: 1.244 MB / 1.174 GB, free: 4.156 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.002441/0.6196, allocations: 3.024 MB / 1.177 GB, free: 2.742 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008073/0.6204, allocations: 0.8176 MB / 1.178 GB, free: 2.348 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001665/0.622, allocations: 1.662 MB / 1.18 GB, free: 1.605 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.6232, allocations: 0.9047 MB / 1.181 GB, free: 1.316 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001345/0.6234, allocations: 122.6 kB / 1.181 GB, free: 1.316 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.6249, allocations: 1.217 MB / 1.182 GB, free: 0.8789 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.000537/0.6255, allocations: 0.6173 MB / 1.182 GB, free: 0.6055 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.626, allocations: 0.515 MB / 1.183 GB, free: 404 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.628, allocations: 2.374 MB / 1.185 GB, free: 15.58 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.628, allocations: 4 kB / 1.185 GB, free: 15.57 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.628, allocations: 0 / 1.185 GB, free: 15.57 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.628, allocations: 6.688 kB / 1.185 GB, free: 15.57 MB / 1.042 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.001625/0.6296, allocations: 1.565 MB / 1.187 GB, free: 14.6 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.6297, allocations: 9.312 kB / 1.187 GB, free: 14.6 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.6307, allocations: 341.5 kB / 1.187 GB, free: 14.5 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009541/0.6316, allocations: 0.8467 MB / 1.188 GB, free: 14.01 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.517e-05/0.6317, allocations: 69.78 kB / 1.188 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.6318, allocations: 100.6 kB / 1.188 GB, free: 13.94 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.6331, allocations: 1.53 MB / 1.19 GB, free: 12.98 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.6331, allocations: 5.078 kB / 1.19 GB, free: 12.98 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.729e-05/0.6332, allocations: 41.66 kB / 1.19 GB, free: 12.95 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.6333, allocations: 44.97 kB / 1.19 GB, free: 12.94 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.6344, allocations: 0.9825 MB / 1.191 GB, free: 12.63 MB / 1.042 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.003215/0.6376, allocations: 2.718 MB / 1.193 GB, free: 11.36 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.6382, allocations: 0.5597 MB / 1.194 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.6385, allocations: 322.6 kB / 1.194 GB, free: 11.01 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.6386, allocations: 33.55 kB / 1.194 GB, free: 11 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.6387, allocations: 42.72 kB / 1.194 GB, free: 10.96 MB / 1.042 GB Notification: Performance of pre-optimization done (n=53): time 1.553e-06/0.6387, allocations: 0 / 1.194 GB, free: 10.96 MB / 1.042 GB Notification: Performance of matching and sorting (n=55): time 0.002484/0.6411, allocations: 1.913 MB / 1.196 GB, free: 10.04 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.6412, allocations: 60.28 kB / 1.196 GB, free: 9.973 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.6417, allocations: 0.6872 MB / 1.197 GB, free: 9.676 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.6418, allocations: 37.77 kB / 1.197 GB, free: 9.637 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.642, allocations: 0.537 MB / 1.197 GB, free: 9.211 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.6421, allocations: 200.6 kB / 1.198 GB, free: 9.051 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.6423, allocations: 131.7 kB / 1.198 GB, free: 8.977 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.6424, allocations: 394.5 kB / 1.198 GB, free: 8.625 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.6427, allocations: 285 kB / 1.198 GB, free: 8.535 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/0.6432, allocations: 490.1 kB / 1.199 GB, free: 8.219 MB / 1.042 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.002261/0.6455, allocations: 1.665 MB / 1.2 GB, free: 7.367 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6455, allocations: 1.156 kB / 1.2 GB, free: 7.367 MB / 1.042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0009615/0.6465, allocations: 0.9152 MB / 1.201 GB, free: 6.883 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.6465, allocations: 6.906 kB / 1.201 GB, free: 6.883 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.6465, allocations: 3.656 kB / 1.201 GB, free: 6.883 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.6466, allocations: 102.3 kB / 1.201 GB, free: 6.82 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.647, allocations: 163.4 kB / 1.202 GB, free: 6.781 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.6493, allocations: 4.254 MB / 1.206 GB, free: 2.703 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003446/0.6497, allocations: 25.92 kB / 1.206 GB, free: 2.691 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.6497, allocations: 33.39 kB / 1.206 GB, free: 2.68 MB / 1.042 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.0003174/0.65, allocations: 344.7 kB / 1.206 GB, free: 2.434 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.764e-05/0.6501, allocations: 86.58 kB / 1.206 GB, free: 2.391 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.089e-05/0.6502, allocations: 92.09 kB / 1.206 GB, free: 2.316 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.6502, allocations: 13.59 kB / 1.206 GB, free: 2.309 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.6502, allocations: 0 / 1.206 GB, free: 2.309 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006567/0.6509, allocations: 0.7733 MB / 1.207 GB, free: 1.777 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.6527, allocations: 1.694 MB / 1.209 GB, free: 0.6758 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6527, allocations: 2.875 kB / 1.209 GB, free: 0.6758 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.653, allocations: 145.7 kB / 1.209 GB, free: 0.6406 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-05/0.6531, allocations: 43.02 kB / 1.209 GB, free: 0.6172 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.6531, allocations: 20.16 kB / 1.209 GB, free: 0.6055 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008266/0.6539, allocations: 1.48 MB / 1.21 GB, free: 15.21 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.6539, allocations: 6.812 kB / 1.21 GB, free: 15.21 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.6551, allocations: 1.182 MB / 1.212 GB, free: 14.47 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.6553, allocations: 169.6 kB / 1.212 GB, free: 14.36 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.6553, allocations: 17.31 kB / 1.212 GB, free: 14.36 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.6556, allocations: 33.02 kB / 1.212 GB, free: 14.34 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.6557, allocations: 49.97 kB / 1.212 GB, free: 14.31 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.6558, allocations: 33.47 kB / 1.212 GB, free: 14.3 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0003604/0.6561, allocations: 480.4 kB / 1.212 GB, free: 14.03 MB / 1.057 GB Notification: Performance of sort global known variables: time 8e-08/0.6561, allocations: 0 / 1.212 GB, free: 14.03 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0006059/0.6567, allocations: 305.2 kB / 1.213 GB, free: 14 MB / 1.057 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.0002646/0.657, allocations: 179.7 kB / 1.213 GB, free: 13.87 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0008887/0.6579, allocations: 0.9868 MB / 1.214 GB, free: 13.21 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6579, allocations: 6.375 kB / 1.214 GB, free: 13.21 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0005936/0.6585, allocations: 429.5 kB / 1.214 GB, free: 12.95 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.6597, allocations: 0.5215 MB / 1.215 GB, free: 12.68 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.6617, allocations: 2.08 MB / 1.217 GB, free: 11.35 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.6621, allocations: 0.5744 MB / 1.217 GB, free: 11.03 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.6622, allocations: 70.72 kB / 1.217 GB, free: 11.02 MB / 1.057 GB Notification: Performance of SimCode: time 6.72e-07/0.6622, allocations: 0 / 1.217 GB, free: 11.02 MB / 1.057 GB Notification: Performance of Templates: time 0.01723/0.6795, allocations: 25.75 MB / 1.242 GB, free: 3.508 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1] [Calling sys.exit(0), Time elapsed: 10.02053041011095]