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.00186/0.00186, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002379/0.002379, allocations: 206.4 kB / 22.24 MB, free: 5.262 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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 3.648/3.648, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 MB / 0.6231 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.002106/0.002106, allocations: 70.33 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.351, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2244/0.5753, allocations: 168.3 MB / 1.528 GB, free: 4.578 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01042/0.5858, allocations: 5.417 MB / 1.534 GB, free: 15.15 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.5871, allocations: 55.56 kB / 1.534 GB, free: 15.1 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.5888, allocations: 0.5396 MB / 1.534 GB, free: 14.55 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.00455/0.5933, allocations: 1.68 MB / 1.536 GB, free: 12.87 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003312/0.5967, allocations: 1.225 MB / 1.537 GB, free: 11.65 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003738/0.6004, allocations: 2.547 MB / 1.539 GB, free: 9.094 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.6016, allocations: 0.7122 MB / 1.54 GB, free: 8.363 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002492/0.604, allocations: 1.253 MB / 1.541 GB, free: 7.105 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.6059, allocations: 0.8405 MB / 1.542 GB, free: 6.266 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.6061, allocations: 100 kB / 1.542 GB, free: 6.168 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.6088, allocations: 1.247 MB / 1.543 GB, free: 4.918 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000575/0.6094, allocations: 0.4947 MB / 1.544 GB, free: 4.422 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0006481/0.61, allocations: 0.5135 MB / 1.544 GB, free: 3.906 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.6131, allocations: 2.087 MB / 1.547 GB, free: 1.812 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6131, allocations: 0 / 1.547 GB, free: 1.812 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6131, allocations: 0 / 1.547 GB, free: 1.812 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.6131, allocations: 0 / 1.547 GB, free: 1.812 MB / 1.232 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.002556/0.6156, allocations: 1.435 MB / 1.548 GB, free: 348 kB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.6157, allocations: 16.03 kB / 1.548 GB, free: 332 kB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.6177, allocations: 327 kB / 1.548 GB, free: 4 kB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.6193, allocations: 0.7556 MB / 1.549 GB, free: 15.22 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.6194, allocations: 65.98 kB / 1.549 GB, free: 15.16 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.6196, allocations: 84 kB / 1.549 GB, free: 15.07 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.6219, allocations: 1.48 MB / 1.551 GB, free: 13.46 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.6219, allocations: 0 / 1.551 GB, free: 13.46 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/0.622, allocations: 36 kB / 1.551 GB, free: 13.42 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.939e-05/0.622, allocations: 37.98 kB / 1.551 GB, free: 13.38 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.6237, allocations: 0.8274 MB / 1.551 GB, free: 12.56 MB / 1.248 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.00546/0.6292, allocations: 3.071 MB / 1.554 GB, free: 9.402 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.6298, allocations: 350.6 kB / 1.555 GB, free: 9.051 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/0.6302, allocations: 202.8 kB / 1.555 GB, free: 8.852 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.6304, allocations: 23.98 kB / 1.555 GB, free: 8.828 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.6304, allocations: 38.56 kB / 1.555 GB, free: 8.781 MB / 1.248 GB Notification: Performance of pre-optimization done (n=36): time 2.154e-06/0.6304, allocations: 0 / 1.555 GB, free: 8.781 MB / 1.248 GB Notification: Performance of matching and sorting (n=38): time 0.002613/0.633, allocations: 1.246 MB / 1.556 GB, free: 7.5 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.6331, allocations: 63.09 kB / 1.556 GB, free: 7.426 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.6342, allocations: 0.7308 MB / 1.557 GB, free: 6.688 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.6342, allocations: 33.7 kB / 1.557 GB, free: 6.648 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.6347, allocations: 0.5269 MB / 1.558 GB, free: 6.113 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.6349, allocations: 142.8 kB / 1.558 GB, free: 5.973 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.6351, allocations: 126.2 kB / 1.558 GB, free: 5.844 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.6353, allocations: 382.8 kB / 1.558 GB, free: 5.461 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.6358, allocations: 233.2 kB / 1.558 GB, free: 5.234 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/0.6365, allocations: 472.3 kB / 1.559 GB, free: 4.684 MB / 1.248 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.002644/0.6392, allocations: 1.146 MB / 1.56 GB, free: 3.457 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.6392, allocations: 3.984 kB / 1.56 GB, free: 3.453 MB / 1.248 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001447/0.6406, allocations: 0.7464 MB / 1.561 GB, free: 2.699 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.6406, allocations: 8 kB / 1.561 GB, free: 2.691 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.6407, allocations: 4 kB / 1.561 GB, free: 2.688 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.6407, allocations: 8 kB / 1.561 GB, free: 2.68 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.6413, allocations: 156.1 kB / 1.561 GB, free: 2.527 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/0.6413, allocations: 15.92 kB / 1.561 GB, free: 2.512 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007931/0.6421, allocations: 52.03 kB / 1.561 GB, free: 2.461 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.6421, allocations: 31.98 kB / 1.561 GB, free: 2.43 MB / 1.248 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.0004939/0.6426, allocations: 317.5 kB / 1.561 GB, free: 2.109 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.6428, allocations: 79.53 kB / 1.561 GB, free: 2.031 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.6429, allocations: 82.98 kB / 1.561 GB, free: 1.945 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.643, allocations: 7.938 kB / 1.561 GB, free: 1.938 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.643, allocations: 0 / 1.561 GB, free: 1.938 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007731/0.6437, allocations: 0.6753 MB / 1.562 GB, free: 1.176 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.6462, allocations: 1.351 MB / 1.563 GB, free: 15.74 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.6462, allocations: 7.938 kB / 1.563 GB, free: 15.73 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.6466, allocations: 79.91 kB / 1.563 GB, free: 15.65 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-06/0.6466, allocations: 4 kB / 1.563 GB, free: 15.65 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.6466, allocations: 20.48 kB / 1.564 GB, free: 15.63 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.6466, allocations: 11.94 kB / 1.564 GB, free: 15.62 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.6466, allocations: 8 kB / 1.564 GB, free: 15.61 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.6477, allocations: 0.8176 MB / 1.564 GB, free: 14.73 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003695/0.6481, allocations: 139.5 kB / 1.564 GB, free: 14.59 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.6482, allocations: 19.92 kB / 1.564 GB, free: 14.57 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000624/0.6488, allocations: 39.97 kB / 1.565 GB, free: 14.53 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.6489, allocations: 35.83 kB / 1.565 GB, free: 14.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.649, allocations: 27.98 kB / 1.565 GB, free: 14.47 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007535/0.6497, allocations: 0.495 MB / 1.565 GB, free: 13.98 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6497, allocations: 4 kB / 1.565 GB, free: 13.98 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.000842/0.6506, allocations: 251.9 kB / 1.565 GB, free: 13.73 MB / 1.264 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.0004193/0.651, allocations: 193.4 kB / 1.565 GB, free: 13.53 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001017/0.652, allocations: 490.4 kB / 1.566 GB, free: 13.05 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.652, allocations: 0 / 1.566 GB, free: 13.05 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.6523, allocations: 189.3 kB / 1.566 GB, free: 12.87 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.6543, allocations: 439.5 kB / 1.567 GB, free: 12.45 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003013/0.6573, allocations: 1.82 MB / 1.568 GB, free: 10.55 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.6579, allocations: 0.5031 MB / 1.569 GB, free: 10.02 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0006751/0.6586, allocations: 206.3 kB / 1.569 GB, free: 9.809 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.6587, allocations: 59.42 kB / 1.569 GB, free: 9.75 MB / 1.264 GB Notification: Performance of SimCode: time 9.72e-07/0.6587, allocations: 4 kB / 1.569 GB, free: 9.746 MB / 1.264 GB Notification: Performance of Templates: time 0.03042/0.6891, allocations: 17.19 MB / 1.586 GB, free: 8.945 MB / 1.279 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.378849517554045]