Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001398/0.001398, 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.001744/0.001744, allocations: 222.1 kB / 23 MB, free: 4.91 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.275/3.275, allocations: 0.4892 GB / 0.7951 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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [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.002132/0.002132, allocations: 72.33 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.217/0.5716, allocations: 165.5 MB / 1.488 GB, free: 11.75 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01886/0.5904, allocations: 11.98 MB / 1.5 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.5918, allocations: 43.62 kB / 1.5 GB, free: 15.69 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.5935, allocations: 409.3 kB / 1.5 GB, free: 15.29 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003115/0.5966, allocations: 0.9527 MB / 1.501 GB, free: 14.33 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.599, allocations: 0.7222 MB / 1.502 GB, free: 13.61 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00264/0.6016, allocations: 1.508 MB / 1.503 GB, free: 12.11 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.6027, allocations: 0.4991 MB / 1.504 GB, free: 11.59 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004895/0.6076, allocations: 1.868 MB / 1.505 GB, free: 9.711 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001669/0.6093, allocations: 0.5049 MB / 1.506 GB, free: 9.211 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.6094, allocations: 52 kB / 1.506 GB, free: 9.16 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.611, allocations: 0.7132 MB / 1.507 GB, free: 8.445 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.6114, allocations: 283.1 kB / 1.507 GB, free: 8.168 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004373/0.6118, allocations: 314.5 kB / 1.507 GB, free: 7.859 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.6138, allocations: 1.164 MB / 1.508 GB, free: 6.691 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.6138, allocations: 4 kB / 1.508 GB, free: 6.688 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6138, allocations: 0 / 1.508 GB, free: 6.688 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.6138, allocations: 0 / 1.508 GB, free: 6.688 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001658/0.6154, allocations: 0.9983 MB / 1.509 GB, free: 5.652 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.6155, allocations: 19.91 kB / 1.509 GB, free: 5.633 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.6165, allocations: 191.3 kB / 1.51 GB, free: 5.445 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.6175, allocations: 0.4959 MB / 1.51 GB, free: 4.93 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/0.6175, allocations: 41.31 kB / 1.51 GB, free: 4.887 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.359e-05/0.6176, allocations: 60 kB / 1.51 GB, free: 4.828 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.6188, allocations: 0.7962 MB / 1.511 GB, free: 3.918 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.6189, allocations: 7.938 kB / 1.511 GB, free: 3.91 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/0.6189, allocations: 27.94 kB / 1.511 GB, free: 3.883 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/0.619, allocations: 21 kB / 1.511 GB, free: 3.863 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000906/0.6199, allocations: 459.3 kB / 1.511 GB, free: 3.41 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.003938/0.6238, allocations: 3.863 MB / 1.515 GB, free: 15.39 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.624, allocations: 98.44 kB / 1.515 GB, free: 15.25 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.6241, allocations: 75.44 kB / 1.515 GB, free: 15.17 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.6242, allocations: 15.98 kB / 1.515 GB, free: 15.15 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.6242, allocations: 42.56 kB / 1.515 GB, free: 15.1 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/0.6242, allocations: 0 / 1.515 GB, free: 15.1 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0005547/0.6248, allocations: 201.2 kB / 1.516 GB, free: 14.9 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/0.6249, allocations: 132.5 kB / 1.516 GB, free: 14.74 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008426/0.6257, allocations: 0.585 MB / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.6258, allocations: 29.7 kB / 1.516 GB, free: 14.11 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003762/0.6261, allocations: 435.8 kB / 1.517 GB, free: 13.68 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.6262, allocations: 47.67 kB / 1.517 GB, free: 13.63 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.6263, allocations: 89.97 kB / 1.517 GB, free: 13.54 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.6265, allocations: 362.7 kB / 1.517 GB, free: 13.17 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.6268, allocations: 108.7 kB / 1.517 GB, free: 13.07 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006575/0.6275, allocations: 0.5078 MB / 1.518 GB, free: 12.41 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/0.6281, allocations: 453.9 kB / 1.518 GB, free: 11.86 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.6282, allocations: 4 kB / 1.518 GB, free: 11.85 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000972/0.6291, allocations: 492.6 kB / 1.519 GB, free: 11.36 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.6292, allocations: 9.719 kB / 1.519 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.6292, allocations: 8 kB / 1.519 GB, free: 11.35 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.6292, allocations: 8.75 kB / 1.519 GB, free: 11.34 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.6295, allocations: 95.83 kB / 1.519 GB, free: 11.25 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.6295, allocations: 15.94 kB / 1.519 GB, free: 11.23 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/0.6301, allocations: 83.61 kB / 1.519 GB, free: 11.15 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.6301, allocations: 35.98 kB / 1.519 GB, free: 11.11 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0003511/0.6305, allocations: 229.5 kB / 1.519 GB, free: 10.88 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.6306, allocations: 63.61 kB / 1.519 GB, free: 10.82 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.534e-05/0.6307, allocations: 52.12 kB / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.6307, allocations: 4 kB / 1.519 GB, free: 10.76 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6307, allocations: 0 / 1.519 GB, free: 10.76 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6307, allocations: 3.938 kB / 1.519 GB, free: 10.76 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.6322, allocations: 0.9914 MB / 1.52 GB, free: 9.695 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6322, allocations: 3.984 kB / 1.52 GB, free: 9.691 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.6323, allocations: 23.88 kB / 1.52 GB, free: 9.668 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6323, allocations: 4 kB / 1.52 GB, free: 9.664 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.6323, allocations: 4 kB / 1.52 GB, free: 9.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6323, allocations: 0 / 1.52 GB, free: 9.66 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6323, allocations: 4 kB / 1.52 GB, free: 9.656 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/0.6326, allocations: 248.7 kB / 1.521 GB, free: 9.367 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.6328, allocations: 71.58 kB / 1.521 GB, free: 9.297 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.6328, allocations: 4 kB / 1.521 GB, free: 9.293 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.6331, allocations: 11.98 kB / 1.521 GB, free: 9.281 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.6331, allocations: 19.92 kB / 1.521 GB, free: 9.262 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.6331, allocations: 4.062 kB / 1.521 GB, free: 9.258 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005905/0.6337, allocations: 406.8 kB / 1.521 GB, free: 8.863 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6337, allocations: 0 / 1.521 GB, free: 8.863 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006559/0.6344, allocations: 191.4 kB / 1.521 GB, free: 8.676 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004955/0.6349, allocations: 184.7 kB / 1.521 GB, free: 8.492 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.6354, allocations: 229.2 kB / 1.522 GB, free: 8.27 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.6354, allocations: 4 kB / 1.522 GB, free: 8.266 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.6355, allocations: 48.3 kB / 1.522 GB, free: 8.219 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009454/0.6364, allocations: 203.2 kB / 1.522 GB, free: 8.027 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.6381, allocations: 1.09 MB / 1.523 GB, free: 6.871 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.6385, allocations: 339.8 kB / 1.523 GB, free: 6.512 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.6386, allocations: 39.42 kB / 1.523 GB, free: 6.473 MB / 1.217 GB Notification: Performance of SimCode: time 8.82e-07/0.6386, allocations: 0 / 1.523 GB, free: 6.473 MB / 1.217 GB Notification: Performance of Templates: time 0.01525/0.6538, allocations: 8.8 MB / 1.532 GB, free: 13.75 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.248232548125088]