Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001935/0.001935, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002395/0.002395, allocations: 220.4 kB / 23 MB, free: 4.914 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.131/3.131, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00215/0.00215, allocations: 70.72 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2355/0.5924, allocations: 168.3 MB / 1.491 GB, free: 8.91 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.6048, allocations: 5.419 MB / 1.496 GB, free: 3.48 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002443/0.6073, allocations: 55.5 kB / 1.496 GB, free: 3.426 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.6094, allocations: 0.5397 MB / 1.497 GB, free: 2.883 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.6148, allocations: 1.68 MB / 1.498 GB, free: 1.195 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.6189, allocations: 1.226 MB / 1.499 GB, free: 15.98 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004847/0.6237, allocations: 2.555 MB / 1.502 GB, free: 13.41 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.6252, allocations: 0.7121 MB / 1.503 GB, free: 12.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.6287, allocations: 1.257 MB / 1.504 GB, free: 11.42 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.6312, allocations: 0.8352 MB / 1.505 GB, free: 10.59 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002811/0.6315, allocations: 100 kB / 1.505 GB, free: 10.49 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003197/0.6347, allocations: 1.251 MB / 1.506 GB, free: 9.238 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006815/0.6354, allocations: 0.4908 MB / 1.506 GB, free: 8.746 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008716/0.6362, allocations: 0.5213 MB / 1.507 GB, free: 8.223 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003705/0.64, allocations: 2.079 MB / 1.509 GB, free: 6.137 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.64, allocations: 7.938 kB / 1.509 GB, free: 6.129 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.086e-06/0.64, allocations: 0 / 1.509 GB, free: 6.129 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.64, allocations: 4 kB / 1.509 GB, free: 6.125 MB / 1.201 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.002827/0.6428, allocations: 1.438 MB / 1.51 GB, free: 4.648 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6429, allocations: 8.031 kB / 1.51 GB, free: 4.641 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/0.6448, allocations: 338.9 kB / 1.511 GB, free: 4.309 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.6465, allocations: 0.7363 MB / 1.511 GB, free: 3.543 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.478e-05/0.6465, allocations: 66 kB / 1.511 GB, free: 3.477 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.6467, allocations: 84 kB / 1.512 GB, free: 3.395 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.649, allocations: 1.476 MB / 1.513 GB, free: 1.781 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.649, allocations: 7.938 kB / 1.513 GB, free: 1.773 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.359e-05/0.6491, allocations: 39.98 kB / 1.513 GB, free: 1.734 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.6492, allocations: 34 kB / 1.513 GB, free: 1.699 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.6508, allocations: 0.8235 MB / 1.514 GB, free: 0.875 MB / 1.201 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.005552/0.6563, allocations: 3.077 MB / 1.517 GB, free: 13.71 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.657, allocations: 359.8 kB / 1.517 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003293/0.6573, allocations: 197.4 kB / 1.517 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.6575, allocations: 27.98 kB / 1.517 GB, free: 13.13 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/0.6575, allocations: 42.56 kB / 1.517 GB, free: 13.08 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 2.275e-06/0.6575, allocations: 0 / 1.517 GB, free: 13.08 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.002803/0.6603, allocations: 1.249 MB / 1.519 GB, free: 11.8 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.6604, allocations: 59.34 kB / 1.519 GB, free: 11.73 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.6615, allocations: 0.7347 MB / 1.519 GB, free: 10.99 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.6616, allocations: 37.69 kB / 1.52 GB, free: 10.95 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.662, allocations: 0.5229 MB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.6622, allocations: 134.9 kB / 1.52 GB, free: 10.28 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.6624, allocations: 126.2 kB / 1.52 GB, free: 10.15 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002209/0.6626, allocations: 382.8 kB / 1.521 GB, free: 9.77 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.6631, allocations: 233.2 kB / 1.521 GB, free: 9.543 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007919/0.6639, allocations: 479.2 kB / 1.521 GB, free: 8.984 MB / 1.217 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.002715/0.6666, allocations: 1.14 MB / 1.522 GB, free: 7.766 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6666, allocations: 0 / 1.522 GB, free: 7.766 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001586/0.6682, allocations: 0.7465 MB / 1.523 GB, free: 7.012 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.6682, allocations: 8 kB / 1.523 GB, free: 7.004 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6682, allocations: 4.469 kB / 1.523 GB, free: 7 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.6682, allocations: 16 kB / 1.523 GB, free: 6.984 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.6689, allocations: 139.8 kB / 1.523 GB, free: 6.848 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/0.6689, allocations: 15.92 kB / 1.523 GB, free: 6.832 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.6698, allocations: 59.95 kB / 1.523 GB, free: 6.773 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/0.6698, allocations: 24 kB / 1.523 GB, free: 6.75 MB / 1.217 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.000523/0.6703, allocations: 313.5 kB / 1.524 GB, free: 6.434 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.6705, allocations: 83.42 kB / 1.524 GB, free: 6.352 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.6707, allocations: 82.98 kB / 1.524 GB, free: 6.266 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.6707, allocations: 7.938 kB / 1.524 GB, free: 6.258 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6707, allocations: 0 / 1.524 GB, free: 6.258 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007972/0.6715, allocations: 0.6832 MB / 1.525 GB, free: 5.488 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/0.674, allocations: 1.34 MB / 1.526 GB, free: 4.062 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.674, allocations: 4.5 kB / 1.526 GB, free: 4.059 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.6744, allocations: 87.84 kB / 1.526 GB, free: 3.973 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.6744, allocations: 7.984 kB / 1.526 GB, free: 3.965 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.6744, allocations: 16 kB / 1.526 GB, free: 3.949 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.6744, allocations: 8 kB / 1.526 GB, free: 3.941 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.6744, allocations: 4 kB / 1.526 GB, free: 3.938 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.6756, allocations: 0.8168 MB / 1.527 GB, free: 3.055 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.676, allocations: 135.6 kB / 1.527 GB, free: 2.922 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.6761, allocations: 19.97 kB / 1.527 GB, free: 2.902 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.6768, allocations: 47.5 kB / 1.527 GB, free: 2.859 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.6768, allocations: 39.83 kB / 1.527 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.6769, allocations: 23.98 kB / 1.527 GB, free: 2.797 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008213/0.6777, allocations: 0.5029 MB / 1.528 GB, free: 2.301 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6777, allocations: 0 / 1.528 GB, free: 2.301 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009349/0.6786, allocations: 255.9 kB / 1.528 GB, free: 2.051 MB / 1.217 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.0003852/0.679, allocations: 186 kB / 1.528 GB, free: 1.859 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001027/0.6801, allocations: 496.3 kB / 1.528 GB, free: 1.375 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6801, allocations: 8.125 kB / 1.528 GB, free: 1.367 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.6803, allocations: 179.7 kB / 1.529 GB, free: 1.191 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002024/0.6824, allocations: 438 kB / 1.529 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.6857, allocations: 1.897 MB / 1.531 GB, free: 14.79 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.6863, allocations: 0.4992 MB / 1.531 GB, free: 14.25 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.6865, allocations: 63.42 kB / 1.531 GB, free: 14.19 MB / 1.232 GB Notification: Performance of SimCode: time 9.02e-07/0.6865, allocations: 0 / 1.531 GB, free: 14.19 MB / 1.232 GB Notification: Performance of Templates: time 0.02506/0.7116, allocations: 14.41 MB / 1.545 GB, free: 15.89 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.047084799036384]