Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001804/0.001804, allocations: 78.66 kB / 19.01 MB, free: 2.859 MB / 14.72 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.002251/0.002251, allocations: 160 kB / 22.26 MB, free: 5.105 MB / 14.72 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 1.473/1.473, allocations: 177.2 MB / 202.6 MB, free: 9.27 MB / 190.1 MB " [Timeout remaining time 178] 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 2.998/2.998, allocations: 394.6 MB / 0.6383 GB, free: 11.73 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 64.19 kB / 1.009 GB, free: 13.01 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.098, allocations: 181.9 MB / 1.187 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2473/1.346, allocations: 168.2 MB / 1.351 GB, free: 8.504 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01165/1.357, allocations: 5.411 MB / 1.356 GB, free: 3.086 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002817/1.36, allocations: 59.5 kB / 1.356 GB, free: 3.027 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/1.362, allocations: 0.528 MB / 1.357 GB, free: 2.496 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005502/1.368, allocations: 1.683 MB / 1.358 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004301/1.372, allocations: 1.236 MB / 1.36 GB, free: 15.58 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005046/1.377, allocations: 2.562 MB / 1.362 GB, free: 13.01 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/1.379, allocations: 0.7005 MB / 1.363 GB, free: 12.29 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/1.384, allocations: 1.589 MB / 1.364 GB, free: 10.7 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00285/1.387, allocations: 0.8409 MB / 1.365 GB, free: 9.855 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004472/1.387, allocations: 100 kB / 1.365 GB, free: 9.758 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/1.391, allocations: 1.247 MB / 1.366 GB, free: 8.508 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0009593/1.391, allocations: 0.4908 MB / 1.367 GB, free: 8.016 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00149/1.393, allocations: 0.5173 MB / 1.367 GB, free: 7.496 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004829/1.398, allocations: 2.091 MB / 1.369 GB, free: 5.398 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.398, allocations: 0 / 1.369 GB, free: 5.398 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.124e-06/1.398, allocations: 0 / 1.369 GB, free: 5.398 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.694e-05/1.398, allocations: 0 / 1.369 GB, free: 5.398 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004015/1.402, allocations: 1.422 MB / 1.371 GB, free: 3.938 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/1.402, allocations: 16.03 kB / 1.371 GB, free: 3.922 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/1.404, allocations: 339 kB / 1.371 GB, free: 3.59 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/1.406, allocations: 0.7479 MB / 1.372 GB, free: 2.816 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-05/1.407, allocations: 62 kB / 1.372 GB, free: 2.754 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/1.407, allocations: 80 kB / 1.372 GB, free: 2.676 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/1.409, allocations: 1.492 MB / 1.373 GB, free: 1.047 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/1.409, allocations: 0 / 1.373 GB, free: 1.047 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/1.41, allocations: 36 kB / 1.373 GB, free: 1.012 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-05/1.41, allocations: 34 kB / 1.374 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/1.411, allocations: 0.8235 MB / 1.374 GB, free: 160 kB / 1.217 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.006464/1.418, allocations: 3.072 MB / 1.377 GB, free: 12.99 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006747/1.419, allocations: 363 kB / 1.378 GB, free: 12.63 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/1.419, allocations: 199.4 kB / 1.378 GB, free: 12.44 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001577/1.419, allocations: 23.98 kB / 1.378 GB, free: 12.41 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/1.419, allocations: 42.5 kB / 1.378 GB, free: 12.36 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 2.284e-06/1.419, allocations: 3.938 kB / 1.378 GB, free: 12.36 MB / 1.232 GB Notification: Performance of matching and sorting (n=38): time 0.002996/1.422, allocations: 1.253 MB / 1.379 GB, free: 11.07 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/1.422, allocations: 63.09 kB / 1.379 GB, free: 11 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/1.423, allocations: 0.7346 MB / 1.38 GB, free: 10.26 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/1.423, allocations: 33.7 kB / 1.38 GB, free: 10.22 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004604/1.424, allocations: 0.523 MB / 1.38 GB, free: 9.688 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/1.424, allocations: 146.8 kB / 1.381 GB, free: 9.543 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/1.424, allocations: 122.2 kB / 1.381 GB, free: 9.418 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002631/1.424, allocations: 382.8 kB / 1.381 GB, free: 9.035 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/1.425, allocations: 233.2 kB / 1.381 GB, free: 8.809 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/1.426, allocations: 479.2 kB / 1.382 GB, free: 8.25 MB / 1.232 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.0027/1.428, allocations: 1.138 MB / 1.383 GB, free: 7.031 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.428, allocations: 0 / 1.383 GB, free: 7.031 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001504/1.43, allocations: 0.7464 MB / 1.384 GB, free: 6.277 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/1.43, allocations: 11.98 kB / 1.384 GB, free: 6.266 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/1.43, allocations: 8 kB / 1.384 GB, free: 6.258 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/1.43, allocations: 8 kB / 1.384 GB, free: 6.25 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/1.431, allocations: 144.1 kB / 1.384 GB, free: 6.109 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/1.431, allocations: 19.92 kB / 1.384 GB, free: 6.09 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008207/1.431, allocations: 51.95 kB / 1.384 GB, free: 6.039 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/1.432, allocations: 24 kB / 1.384 GB, free: 6.016 MB / 1.232 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005479/1.432, allocations: 317.5 kB / 1.384 GB, free: 5.695 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/1.432, allocations: 75.53 kB / 1.384 GB, free: 5.621 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/1.432, allocations: 86.98 kB / 1.384 GB, free: 5.527 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/1.432, allocations: 7.938 kB / 1.384 GB, free: 5.52 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/1.432, allocations: 0 / 1.384 GB, free: 5.52 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000834/1.433, allocations: 0.6801 MB / 1.385 GB, free: 4.754 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/1.436, allocations: 1.35 MB / 1.386 GB, free: 3.316 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.436, allocations: 4 kB / 1.386 GB, free: 3.312 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/1.436, allocations: 83.84 kB / 1.386 GB, free: 3.23 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-05/1.436, allocations: 11.98 kB / 1.386 GB, free: 3.219 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/1.436, allocations: 8.5 kB / 1.386 GB, free: 3.211 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/1.436, allocations: 15.94 kB / 1.386 GB, free: 3.195 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.436, allocations: 7.938 kB / 1.386 GB, free: 3.188 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/1.437, allocations: 0.8108 MB / 1.387 GB, free: 2.312 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/1.438, allocations: 139.5 kB / 1.387 GB, free: 2.176 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/1.438, allocations: 11.98 kB / 1.387 GB, free: 2.164 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006232/1.439, allocations: 43.97 kB / 1.387 GB, free: 2.121 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/1.439, allocations: 39.83 kB / 1.387 GB, free: 2.082 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/1.439, allocations: 23.98 kB / 1.387 GB, free: 2.059 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.000867/1.44, allocations: 0.4989 MB / 1.388 GB, free: 1.566 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.44, allocations: 0 / 1.388 GB, free: 1.566 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001136/1.441, allocations: 259.9 kB / 1.388 GB, free: 1.312 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004879/1.441, allocations: 183.1 kB / 1.388 GB, free: 1.121 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.442, allocations: 487.9 kB / 1.389 GB, free: 0.6445 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.442, allocations: 4 kB / 1.389 GB, free: 0.6406 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002917/1.442, allocations: 181.3 kB / 1.389 GB, free: 476 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/1.445, allocations: 435.5 kB / 1.389 GB, free: 52 kB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/1.448, allocations: 1.837 MB / 1.391 GB, free: 14.13 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/1.448, allocations: 0.4954 MB / 1.392 GB, free: 13.61 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006906/1.449, allocations: 206.3 kB / 1.392 GB, free: 13.4 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/1.449, allocations: 64.48 kB / 1.392 GB, free: 13.34 MB / 1.248 GB Notification: Performance of SimCode: time 6.31e-07/1.449, allocations: 0 / 1.392 GB, free: 13.34 MB / 1.248 GB Notification: Performance of Templates: time 0.03081/1.48, allocations: 15.71 MB / 1.407 GB, free: 14 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.26203854009509]