Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001808/0.001808, 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.002266/0.002266, allocations: 225 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.209/3.209, allocations: 0.4892 GB / 0.7951 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] 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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_12_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_12_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.002127/0.002127, allocations: 69.62 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2135/0.5458, allocations: 165.7 MB / 1.488 GB, free: 11.56 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.5625, allocations: 12.03 MB / 1.5 GB, free: 15.5 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001279/0.5637, allocations: 47.56 kB / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.5652, allocations: 425.2 kB / 1.5 GB, free: 15.04 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.5684, allocations: 1.202 MB / 1.501 GB, free: 13.83 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.5703, allocations: 0.7297 MB / 1.502 GB, free: 13.1 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002756/0.5731, allocations: 2.037 MB / 1.504 GB, free: 11.06 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.5741, allocations: 0.6176 MB / 1.505 GB, free: 10.41 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00455/0.5786, allocations: 1.997 MB / 1.507 GB, free: 8.41 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.5803, allocations: 0.6651 MB / 1.507 GB, free: 7.75 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/0.5805, allocations: 80 kB / 1.507 GB, free: 7.672 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.5821, allocations: 0.7247 MB / 1.508 GB, free: 6.945 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004511/0.5825, allocations: 394.9 kB / 1.509 GB, free: 6.559 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.5831, allocations: 418.1 kB / 1.509 GB, free: 6.148 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.5853, allocations: 1.495 MB / 1.51 GB, free: 4.648 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5853, allocations: 0 / 1.51 GB, free: 4.648 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5853, allocations: 0 / 1.51 GB, free: 4.648 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.5853, allocations: 4 kB / 1.51 GB, free: 4.645 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00196/0.5873, allocations: 1.182 MB / 1.512 GB, free: 3.43 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5873, allocations: 12.03 kB / 1.512 GB, free: 3.418 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.5885, allocations: 227.1 kB / 1.512 GB, free: 3.195 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.5898, allocations: 0.6077 MB / 1.512 GB, free: 2.559 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.5898, allocations: 58 kB / 1.512 GB, free: 2.504 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5899, allocations: 79.95 kB / 1.512 GB, free: 2.426 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.5914, allocations: 1.058 MB / 1.514 GB, free: 1.25 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.57e-05/0.5915, allocations: 11.92 kB / 1.514 GB, free: 1.238 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.246e-05/0.5915, allocations: 35.94 kB / 1.514 GB, free: 1.203 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.5916, allocations: 29.31 kB / 1.514 GB, free: 1.176 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.5926, allocations: 0.6177 MB / 1.514 GB, free: 0.5586 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.004252/0.5968, allocations: 3.575 MB / 1.518 GB, free: 12.85 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/0.5976, allocations: 464.9 kB / 1.518 GB, free: 12.37 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.598, allocations: 231.1 kB / 1.518 GB, free: 12.14 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001524/0.5981, allocations: 27.98 kB / 1.518 GB, free: 12.11 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.5982, allocations: 42.55 kB / 1.518 GB, free: 12.06 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.5982, allocations: 3.938 kB / 1.518 GB, free: 12.05 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.002892/0.6011, allocations: 1.539 MB / 1.52 GB, free: 10.48 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8e-05/0.6012, allocations: 106.8 kB / 1.52 GB, free: 10.35 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/0.6018, allocations: 0.5419 MB / 1.521 GB, free: 9.805 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.912e-05/0.6019, allocations: 37.7 kB / 1.521 GB, free: 9.762 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.6022, allocations: 436.1 kB / 1.521 GB, free: 9.328 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.6024, allocations: 174.5 kB / 1.521 GB, free: 9.156 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.6026, allocations: 114.3 kB / 1.521 GB, free: 9.039 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.6027, allocations: 370.8 kB / 1.522 GB, free: 8.668 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003179/0.6031, allocations: 189.3 kB / 1.522 GB, free: 8.484 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/0.6037, allocations: 0.5695 MB / 1.522 GB, free: 7.781 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002276/0.6059, allocations: 1.099 MB / 1.523 GB, free: 6.598 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6059, allocations: 4 kB / 1.523 GB, free: 6.594 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001037/0.607, allocations: 0.6568 MB / 1.524 GB, free: 5.93 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.607, allocations: 8.094 kB / 1.524 GB, free: 5.922 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.607, allocations: 15.92 kB / 1.524 GB, free: 5.906 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.607, allocations: 12 kB / 1.524 GB, free: 5.895 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.6075, allocations: 123.8 kB / 1.524 GB, free: 5.773 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.6075, allocations: 12 kB / 1.524 GB, free: 5.762 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.608, allocations: 27.98 kB / 1.524 GB, free: 5.734 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.6081, allocations: 24 kB / 1.524 GB, free: 5.711 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: 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.0003941/0.6084, allocations: 277.5 kB / 1.525 GB, free: 5.43 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.6086, allocations: 71.58 kB / 1.525 GB, free: 5.359 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.6087, allocations: 82.19 kB / 1.525 GB, free: 5.281 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.6087, allocations: 11.98 kB / 1.525 GB, free: 5.27 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6087, allocations: 0 / 1.525 GB, free: 5.27 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007791/0.6095, allocations: 0.7002 MB / 1.525 GB, free: 4.484 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.6119, allocations: 1.431 MB / 1.527 GB, free: 2.965 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6119, allocations: 4 kB / 1.527 GB, free: 2.961 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000449/0.6123, allocations: 103.9 kB / 1.527 GB, free: 2.859 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/0.6123, allocations: 11.98 kB / 1.527 GB, free: 2.848 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.6124, allocations: 12 kB / 1.527 GB, free: 2.836 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.6124, allocations: 7.938 kB / 1.527 GB, free: 2.828 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.6124, allocations: 11.88 kB / 1.527 GB, free: 2.816 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.6135, allocations: 0.8616 MB / 1.528 GB, free: 1.887 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.6138, allocations: 107.7 kB / 1.528 GB, free: 1.781 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.6139, allocations: 19.98 kB / 1.528 GB, free: 1.762 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/0.6143, allocations: 23.92 kB / 1.528 GB, free: 1.738 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.621e-05/0.6143, allocations: 39.88 kB / 1.528 GB, free: 1.699 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.6144, allocations: 19.94 kB / 1.528 GB, free: 1.68 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004285/0.6148, allocations: 362.8 kB / 1.528 GB, free: 1.328 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6148, allocations: 3.938 kB / 1.528 GB, free: 1.324 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007261/0.6155, allocations: 203.9 kB / 1.529 GB, free: 1.125 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.0004365/0.616, allocations: 183 kB / 1.529 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007781/0.6167, allocations: 453.4 kB / 1.529 GB, free: 0.5039 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6167, allocations: 4 kB / 1.529 GB, free: 0.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.617, allocations: 207.9 kB / 1.529 GB, free: 304 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.6185, allocations: 335.4 kB / 1.53 GB, free: 15.97 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.6213, allocations: 1.708 MB / 1.531 GB, free: 14.18 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.6217, allocations: 436.2 kB / 1.532 GB, free: 13.73 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.6219, allocations: 67.36 kB / 1.532 GB, free: 13.66 MB / 1.232 GB Notification: Performance of SimCode: time 7.81e-07/0.6219, allocations: 0 / 1.532 GB, free: 13.66 MB / 1.232 GB Notification: Performance of Templates: time 0.02102/0.6429, allocations: 11.48 MB / 1.543 GB, free: 2.277 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.77593158511445]