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.001289/0.001289, 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.001442/0.001442, allocations: 214.7 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.45/1.45, 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.146/3.146, allocations: 0.49 GB / 0.7959 GB, free: 35.36 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.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.002048/0.002048, allocations: 65.7 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3065, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2118/0.5183, allocations: 165.7 MB / 1.489 GB, free: 10.73 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02312/0.5414, allocations: 12.03 MB / 1.501 GB, free: 14.68 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.5426, allocations: 43.62 kB / 1.501 GB, free: 14.63 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.5441, allocations: 429.2 kB / 1.501 GB, free: 14.21 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.5468, allocations: 1.213 MB / 1.502 GB, free: 12.99 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002028/0.5488, allocations: 0.7305 MB / 1.503 GB, free: 12.27 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002974/0.5518, allocations: 2.059 MB / 1.505 GB, free: 10.2 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009524/0.5527, allocations: 0.6216 MB / 1.506 GB, free: 9.551 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/0.5569, allocations: 1.997 MB / 1.508 GB, free: 7.547 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.5583, allocations: 0.7028 MB / 1.508 GB, free: 6.848 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001414/0.5584, allocations: 80 kB / 1.508 GB, free: 6.77 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.5599, allocations: 0.7404 MB / 1.509 GB, free: 6.027 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004046/0.5603, allocations: 386.9 kB / 1.509 GB, free: 5.648 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.5608, allocations: 426.1 kB / 1.51 GB, free: 5.23 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.5627, allocations: 1.491 MB / 1.511 GB, free: 3.734 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5627, allocations: 0 / 1.511 GB, free: 3.734 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5627, allocations: 0 / 1.511 GB, free: 3.734 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.5627, allocations: 0 / 1.511 GB, free: 3.734 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.001904/0.5646, allocations: 1.187 MB / 1.512 GB, free: 2.516 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5646, allocations: 12.02 kB / 1.512 GB, free: 2.504 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.5658, allocations: 215.2 kB / 1.513 GB, free: 2.293 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.5671, allocations: 0.6155 MB / 1.513 GB, free: 1.648 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.5671, allocations: 61.98 kB / 1.513 GB, free: 1.59 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.5672, allocations: 79.95 kB / 1.513 GB, free: 1.512 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.5687, allocations: 1.054 MB / 1.514 GB, free: 348 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.5688, allocations: 4 kB / 1.514 GB, free: 344 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.455e-05/0.5688, allocations: 39.94 kB / 1.514 GB, free: 304 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.5689, allocations: 25.31 kB / 1.514 GB, free: 280 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5699, allocations: 0.6177 MB / 1.515 GB, free: 15.66 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.00406/0.574, allocations: 3.586 MB / 1.519 GB, free: 11.94 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007785/0.5748, allocations: 453.6 kB / 1.519 GB, free: 11.47 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.5751, allocations: 227.1 kB / 1.519 GB, free: 11.24 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.5753, allocations: 31.92 kB / 1.519 GB, free: 11.21 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.5753, allocations: 38.56 kB / 1.519 GB, free: 11.16 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 1.843e-06/0.5753, allocations: 8 kB / 1.519 GB, free: 11.15 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.002746/0.5781, allocations: 1.531 MB / 1.521 GB, free: 9.586 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.5781, allocations: 110.8 kB / 1.521 GB, free: 9.453 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006406/0.5788, allocations: 0.5302 MB / 1.521 GB, free: 8.918 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.728e-05/0.5788, allocations: 37.7 kB / 1.521 GB, free: 8.875 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.5792, allocations: 448 kB / 1.522 GB, free: 8.43 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.5793, allocations: 174.7 kB / 1.522 GB, free: 8.258 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.5795, allocations: 122.3 kB / 1.522 GB, free: 8.133 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5797, allocations: 370.8 kB / 1.522 GB, free: 7.762 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.58, allocations: 189.2 kB / 1.523 GB, free: 7.578 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.5806, allocations: 0.5656 MB / 1.523 GB, free: 6.879 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.002406/0.583, allocations: 1.107 MB / 1.524 GB, free: 5.688 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.583, allocations: 0 / 1.524 GB, free: 5.688 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001081/0.5841, allocations: 0.6643 MB / 1.525 GB, free: 5.016 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5841, allocations: 8 kB / 1.525 GB, free: 5.008 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.5841, allocations: 11.94 kB / 1.525 GB, free: 4.996 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.5841, allocations: 8 kB / 1.525 GB, free: 4.988 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.5846, allocations: 127.8 kB / 1.525 GB, free: 4.863 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.5846, allocations: 11.94 kB / 1.525 GB, free: 4.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.5852, allocations: 23.98 kB / 1.525 GB, free: 4.828 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.5852, allocations: 32.28 kB / 1.525 GB, free: 4.797 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.000387/0.5856, allocations: 277.5 kB / 1.525 GB, free: 4.516 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.5857, allocations: 67.58 kB / 1.526 GB, free: 4.449 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.5859, allocations: 82.19 kB / 1.526 GB, free: 4.371 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.5859, allocations: 4 kB / 1.526 GB, free: 4.367 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5859, allocations: 0 / 1.526 GB, free: 4.367 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007906/0.5867, allocations: 0.6963 MB / 1.526 GB, free: 3.586 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002428/0.5891, allocations: 1.443 MB / 1.528 GB, free: 2.055 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5892, allocations: 4 kB / 1.528 GB, free: 2.051 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.5896, allocations: 99.89 kB / 1.528 GB, free: 1.953 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.5896, allocations: 7.938 kB / 1.528 GB, free: 1.945 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.5897, allocations: 16.5 kB / 1.528 GB, free: 1.93 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.5897, allocations: 15.92 kB / 1.528 GB, free: 1.914 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5897, allocations: 8 kB / 1.528 GB, free: 1.906 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.5909, allocations: 0.8495 MB / 1.529 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002861/0.5912, allocations: 111.6 kB / 1.529 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.245e-05/0.5912, allocations: 12 kB / 1.529 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.5917, allocations: 23.92 kB / 1.529 GB, free: 0.8438 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.5917, allocations: 39.88 kB / 1.529 GB, free: 0.8047 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.5918, allocations: 27.92 kB / 1.529 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004393/0.5922, allocations: 366.8 kB / 1.529 GB, free: 432 kB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5922, allocations: 0 / 1.529 GB, free: 432 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007392/0.5929, allocations: 199.9 kB / 1.529 GB, free: 232 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.0004145/0.5934, allocations: 194.1 kB / 1.53 GB, free: 36 kB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0008503/0.5942, allocations: 460.9 kB / 1.53 GB, free: 15.58 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5942, allocations: 0 / 1.53 GB, free: 15.58 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003205/0.5945, allocations: 203.9 kB / 1.53 GB, free: 15.38 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.5961, allocations: 335.4 kB / 1.531 GB, free: 15.06 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.5987, allocations: 1.648 MB / 1.532 GB, free: 13.34 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.5992, allocations: 436.2 kB / 1.533 GB, free: 12.88 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000523/0.5997, allocations: 169.3 kB / 1.533 GB, free: 12.71 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.5999, allocations: 55.44 kB / 1.533 GB, free: 12.66 MB / 1.232 GB Notification: Performance of SimCode: time 7.31e-07/0.5999, allocations: 4 kB / 1.533 GB, free: 12.66 MB / 1.232 GB Notification: Performance of Templates: time 0.02289/0.6228, allocations: 13.32 MB / 1.546 GB, free: 15.66 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 gbode -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: 8.981665029001306]