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.00177/0.00177, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002069/0.002069, allocations: 209.3 kB / 22.99 MB, free: 4.984 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.611/1.611, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.34/3.34, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002238/0.002238, allocations: 65.89 kB / 1.155 GB, free: 25.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5641, allocations: 176.1 MB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2506/0.8147, allocations: 165.7 MB / 1.489 GB, free: 10.53 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0185/0.8332, allocations: 12.03 MB / 1.501 GB, free: 14.47 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.8347, allocations: 47.62 kB / 1.501 GB, free: 14.42 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.8364, allocations: 429.1 kB / 1.501 GB, free: 14 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.8403, allocations: 1.202 MB / 1.502 GB, free: 12.79 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.8423, allocations: 0.7399 MB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003197/0.8455, allocations: 2.051 MB / 1.505 GB, free: 9.996 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.8466, allocations: 0.6177 MB / 1.506 GB, free: 9.352 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004929/0.8515, allocations: 2.004 MB / 1.508 GB, free: 7.34 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.8534, allocations: 0.7015 MB / 1.508 GB, free: 6.645 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.8536, allocations: 80 kB / 1.508 GB, free: 6.566 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0018/0.8554, allocations: 0.7365 MB / 1.509 GB, free: 5.828 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.8559, allocations: 390.8 kB / 1.509 GB, free: 5.445 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005654/0.8564, allocations: 430 kB / 1.51 GB, free: 5.023 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.8587, allocations: 1.487 MB / 1.511 GB, free: 3.531 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.8587, allocations: 0 / 1.511 GB, free: 3.531 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8587, allocations: 0 / 1.511 GB, free: 3.531 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.8587, allocations: 0 / 1.511 GB, free: 3.531 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.002059/0.8608, allocations: 1.182 MB / 1.512 GB, free: 2.316 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.8608, allocations: 12.03 kB / 1.512 GB, free: 2.305 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.8621, allocations: 227.1 kB / 1.513 GB, free: 2.082 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.8634, allocations: 0.6077 MB / 1.513 GB, free: 1.445 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/0.8635, allocations: 58 kB / 1.513 GB, free: 1.391 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.8636, allocations: 79.95 kB / 1.513 GB, free: 1.312 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.8653, allocations: 1.058 MB / 1.514 GB, free: 140 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.8653, allocations: 3.938 kB / 1.514 GB, free: 136 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.8654, allocations: 39.86 kB / 1.514 GB, free: 96 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.8654, allocations: 29.31 kB / 1.514 GB, free: 68 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.8665, allocations: 0.6139 MB / 1.515 GB, free: 15.45 MB / 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.004431/0.871, allocations: 3.586 MB / 1.519 GB, free: 11.73 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.8718, allocations: 452.7 kB / 1.519 GB, free: 11.27 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.8722, allocations: 234.5 kB / 1.519 GB, free: 11.03 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001805/0.8724, allocations: 27.98 kB / 1.519 GB, free: 11 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.8724, allocations: 46.44 kB / 1.519 GB, free: 10.95 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.696e-06/0.8724, allocations: 0 / 1.519 GB, free: 10.95 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003078/0.8755, allocations: 1.531 MB / 1.521 GB, free: 9.379 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.296e-05/0.8756, allocations: 114.8 kB / 1.521 GB, free: 9.242 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007074/0.8763, allocations: 0.5344 MB / 1.521 GB, free: 8.703 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.8764, allocations: 37.7 kB / 1.521 GB, free: 8.66 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.8767, allocations: 444 kB / 1.522 GB, free: 8.219 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.8769, allocations: 166.5 kB / 1.522 GB, free: 8.055 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.8771, allocations: 122.3 kB / 1.522 GB, free: 7.93 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002297/0.8773, allocations: 370.8 kB / 1.522 GB, free: 7.559 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.8777, allocations: 189.2 kB / 1.523 GB, free: 7.375 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000667/0.8783, allocations: 0.5656 MB / 1.523 GB, free: 6.676 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.002545/0.8809, allocations: 1.109 MB / 1.524 GB, free: 5.48 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8809, allocations: 0 / 1.524 GB, free: 5.48 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001153/0.882, allocations: 0.6602 MB / 1.525 GB, free: 4.812 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.882, allocations: 8 kB / 1.525 GB, free: 4.805 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.8821, allocations: 11.94 kB / 1.525 GB, free: 4.793 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.8821, allocations: 11.94 kB / 1.525 GB, free: 4.781 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.8826, allocations: 123.8 kB / 1.525 GB, free: 4.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.8826, allocations: 16.48 kB / 1.525 GB, free: 4.645 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.8832, allocations: 29.7 kB / 1.525 GB, free: 4.617 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/0.8832, allocations: 32 kB / 1.525 GB, free: 4.586 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.0004505/0.8837, allocations: 269.6 kB / 1.525 GB, free: 4.312 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.8838, allocations: 67.58 kB / 1.526 GB, free: 4.246 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/0.884, allocations: 82.19 kB / 1.526 GB, free: 4.168 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.884, allocations: 4 kB / 1.526 GB, free: 4.164 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.884, allocations: 0 / 1.526 GB, free: 4.164 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008717/0.8849, allocations: 0.7002 MB / 1.526 GB, free: 3.379 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/0.8875, allocations: 1.435 MB / 1.528 GB, free: 1.855 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.8875, allocations: 4 kB / 1.528 GB, free: 1.852 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.888, allocations: 96.39 kB / 1.528 GB, free: 1.758 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.888, allocations: 12 kB / 1.528 GB, free: 1.746 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.888, allocations: 16 kB / 1.528 GB, free: 1.73 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.139e-05/0.888, allocations: 23.73 kB / 1.528 GB, free: 1.707 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.888, allocations: 4 kB / 1.528 GB, free: 1.703 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.8893, allocations: 0.8535 MB / 1.529 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.8896, allocations: 111.6 kB / 1.529 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.51e-05/0.8897, allocations: 12 kB / 1.529 GB, free: 0.6602 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004143/0.8901, allocations: 23.94 kB / 1.529 GB, free: 0.6367 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/0.8902, allocations: 39.88 kB / 1.529 GB, free: 0.5977 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.132e-05/0.8902, allocations: 27.92 kB / 1.529 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004562/0.8907, allocations: 362.8 kB / 1.529 GB, free: 224 kB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.8907, allocations: 0 / 1.529 GB, free: 224 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007967/0.8915, allocations: 199.9 kB / 1.529 GB, free: 24 kB / 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.0005111/0.892, allocations: 194.8 kB / 1.53 GB, free: 15.83 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008511/0.8928, allocations: 459.9 kB / 1.53 GB, free: 15.38 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8928, allocations: 0 / 1.53 GB, free: 15.38 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003234/0.8932, allocations: 202.3 kB / 1.53 GB, free: 15.19 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.8948, allocations: 342.9 kB / 1.531 GB, free: 14.86 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/0.8976, allocations: 1.644 MB / 1.532 GB, free: 13.14 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.8981, allocations: 440.2 kB / 1.533 GB, free: 12.68 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005301/0.8987, allocations: 173.3 kB / 1.533 GB, free: 12.51 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.8988, allocations: 51.44 kB / 1.533 GB, free: 12.46 MB / 1.232 GB Notification: Performance of SimCode: time 5.31e-07/0.8988, allocations: 3.938 kB / 1.533 GB, free: 12.45 MB / 1.232 GB Notification: Performance of Templates: time 0.02529/0.9241, allocations: 13.32 MB / 1.546 GB, free: 15.45 MB / 1.248 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 -s cvode -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: 10.640638112003217]