Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001626/0.001626, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002165/0.002165, allocations: 219.1 kB / 23.01 MB, free: 4.605 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.709/2.709, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [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.002031/0.002031, allocations: 70.44 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2225/0.5557, allocations: 191.2 MB / 1.471 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01765/0.5733, allocations: 13.24 MB / 1.484 GB, free: 14.04 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.5748, allocations: 47.62 kB / 1.484 GB, free: 14 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.5764, allocations: 441.1 kB / 1.485 GB, free: 13.56 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.5801, allocations: 1.221 MB / 1.486 GB, free: 12.34 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.5823, allocations: 0.7394 MB / 1.487 GB, free: 11.6 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003311/0.5856, allocations: 2.063 MB / 1.489 GB, free: 9.531 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001248/0.5869, allocations: 0.6255 MB / 1.489 GB, free: 8.883 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00485/0.5917, allocations: 1.923 MB / 1.491 GB, free: 6.953 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.594, allocations: 0.7163 MB / 1.492 GB, free: 6.242 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.5942, allocations: 84 kB / 1.492 GB, free: 6.16 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.5965, allocations: 0.9392 MB / 1.493 GB, free: 5.219 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005274/0.597, allocations: 394.8 kB / 1.493 GB, free: 4.832 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007392/0.5977, allocations: 0.4938 MB / 1.494 GB, free: 4.336 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.6004, allocations: 1.51 MB / 1.495 GB, free: 2.82 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6004, allocations: 0 / 1.495 GB, free: 2.82 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6004, allocations: 0 / 1.495 GB, free: 2.82 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.6004, allocations: 0 / 1.495 GB, free: 2.82 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002029/0.6024, allocations: 1.193 MB / 1.496 GB, free: 1.594 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6025, allocations: 12.03 kB / 1.496 GB, free: 1.582 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.6037, allocations: 215.2 kB / 1.497 GB, free: 1.371 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.6049, allocations: 0.6116 MB / 1.497 GB, free: 0.7305 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.605, allocations: 58 kB / 1.497 GB, free: 0.6758 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.6051, allocations: 83.95 kB / 1.497 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.6065, allocations: 0.9288 MB / 1.498 GB, free: 15.58 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.6066, allocations: 7.938 kB / 1.498 GB, free: 15.57 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.008e-05/0.6066, allocations: 35.94 kB / 1.498 GB, free: 15.54 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.6067, allocations: 29.31 kB / 1.498 GB, free: 15.51 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.6077, allocations: 0.6177 MB / 1.499 GB, free: 14.89 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.005156/0.6129, allocations: 4.531 MB / 1.503 GB, free: 10.07 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008227/0.6137, allocations: 460 kB / 1.504 GB, free: 9.59 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.614, allocations: 234.5 kB / 1.504 GB, free: 9.352 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.6142, allocations: 23.97 kB / 1.504 GB, free: 9.328 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.6142, allocations: 42.56 kB / 1.504 GB, free: 9.277 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 4.458e-06/0.6142, allocations: 3.984 kB / 1.504 GB, free: 9.273 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.002973/0.6172, allocations: 1.545 MB / 1.506 GB, free: 7.691 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.6173, allocations: 110.8 kB / 1.506 GB, free: 7.559 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/0.6182, allocations: 0.7197 MB / 1.506 GB, free: 6.832 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.726e-05/0.6183, allocations: 37.7 kB / 1.506 GB, free: 6.789 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.6186, allocations: 416.6 kB / 1.507 GB, free: 6.375 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.6188, allocations: 178.5 kB / 1.507 GB, free: 6.199 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.619, allocations: 110.3 kB / 1.507 GB, free: 6.086 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.6191, allocations: 334 kB / 1.507 GB, free: 5.754 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.6195, allocations: 185.2 kB / 1.508 GB, free: 5.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.62, allocations: 413 kB / 1.508 GB, free: 5.074 MB / 1.201 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/0.6223, allocations: 1.106 MB / 1.509 GB, free: 3.883 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6223, allocations: 0 / 1.509 GB, free: 3.883 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001131/0.6235, allocations: 0.6681 MB / 1.51 GB, free: 3.207 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.6235, allocations: 11.94 kB / 1.51 GB, free: 3.195 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.6235, allocations: 8 kB / 1.51 GB, free: 3.188 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.6235, allocations: 8.781 kB / 1.51 GB, free: 3.18 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.624, allocations: 135.8 kB / 1.51 GB, free: 3.047 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.624, allocations: 8 kB / 1.51 GB, free: 3.039 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.6246, allocations: 27.98 kB / 1.51 GB, free: 3.012 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.6246, allocations: 31.94 kB / 1.51 GB, free: 2.98 MB / 1.201 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0004439/0.6251, allocations: 285 kB / 1.51 GB, free: 2.695 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.6253, allocations: 91.38 kB / 1.51 GB, free: 2.605 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001775/0.6255, allocations: 91.66 kB / 1.51 GB, free: 2.512 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.6255, allocations: 4 kB / 1.51 GB, free: 2.508 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.6255, allocations: 8 kB / 1.51 GB, free: 2.5 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007971/0.6263, allocations: 0.6949 MB / 1.511 GB, free: 1.719 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.6288, allocations: 1.611 MB / 1.513 GB, free: 8 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.6288, allocations: 8.062 kB / 1.513 GB, free: 0 / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.6293, allocations: 99.83 kB / 1.513 GB, free: 15.9 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.6293, allocations: 11.94 kB / 1.513 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/0.6294, allocations: 19.98 kB / 1.513 GB, free: 15.87 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.6294, allocations: 4 kB / 1.513 GB, free: 15.87 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.6294, allocations: 7.938 kB / 1.513 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.6306, allocations: 0.8655 MB / 1.514 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.6309, allocations: 139.4 kB / 1.514 GB, free: 14.79 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.631, allocations: 11.98 kB / 1.514 GB, free: 14.78 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.6314, allocations: 20 kB / 1.514 GB, free: 14.76 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.6315, allocations: 43.81 kB / 1.514 GB, free: 14.71 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.6315, allocations: 20.09 kB / 1.514 GB, free: 14.7 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006709/0.6322, allocations: 0.5107 MB / 1.514 GB, free: 14.19 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6322, allocations: 0 / 1.514 GB, free: 14.19 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007328/0.6329, allocations: 199.9 kB / 1.515 GB, free: 13.99 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.0004305/0.6334, allocations: 186.6 kB / 1.515 GB, free: 13.81 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008587/0.6342, allocations: 452.8 kB / 1.515 GB, free: 13.37 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6342, allocations: 384 / 1.515 GB, free: 13.37 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.6345, allocations: 211.6 kB / 1.515 GB, free: 13.16 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.6365, allocations: 477.2 kB / 1.516 GB, free: 12.71 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004131/0.6407, allocations: 1.762 MB / 1.518 GB, free: 10.86 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009953/0.6417, allocations: 1.02 MB / 1.519 GB, free: 9.805 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000361/0.642, allocations: 83.36 kB / 1.519 GB, free: 9.723 MB / 1.217 GB Notification: Performance of SimCode: time 1.783e-06/0.642, allocations: 0 / 1.519 GB, free: 9.723 MB / 1.217 GB Notification: Performance of Templates: time 0.03117/0.6732, allocations: 13 MB / 1.531 GB, free: 12.84 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.339129425992724]