Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 118 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 75.83 kB / 1.057 GB, free: 1.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3171, allocations: 160.7 MB / 1.214 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.8734/1.19, allocations: 187.9 MB / 1.398 GB, free: 11.87 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02455/1.215, allocations: 13.12 MB / 1.41 GB, free: 1.25 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001729/1.217, allocations: 33.81 kB / 1.41 GB, free: 1.238 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/1.218, allocations: 444.5 kB / 1.411 GB, free: 0.8672 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003511/1.222, allocations: 1.207 MB / 1.412 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/1.224, allocations: 0.7051 MB / 1.413 GB, free: 15.38 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00318/1.227, allocations: 2.018 MB / 1.415 GB, free: 14.22 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/1.228, allocations: 0.6954 MB / 1.415 GB, free: 13.76 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004507/1.233, allocations: 1.878 MB / 1.417 GB, free: 12.53 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/1.235, allocations: 0.7076 MB / 1.418 GB, free: 12.11 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/1.235, allocations: 79.22 kB / 1.418 GB, free: 12.11 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/1.237, allocations: 0.9217 MB / 1.419 GB, free: 11.61 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004564/1.238, allocations: 397 kB / 1.419 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006469/1.238, allocations: 0.4955 MB / 1.42 GB, free: 11.02 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002479/1.241, allocations: 1.504 MB / 1.421 GB, free: 10.04 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.241, allocations: 0 / 1.421 GB, free: 10.04 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.693e-06/1.241, allocations: 0 / 1.421 GB, free: 10.04 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.807e-05/1.241, allocations: 7.938 kB / 1.421 GB, free: 10.03 MB / 1.092 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.002046/1.243, allocations: 1.259 MB / 1.422 GB, free: 9.039 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.243, allocations: 8 kB / 1.422 GB, free: 9.039 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/1.244, allocations: 220.1 kB / 1.423 GB, free: 8.938 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/1.245, allocations: 0.6928 MB / 1.423 GB, free: 8.383 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/1.245, allocations: 59.25 kB / 1.423 GB, free: 8.359 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/1.245, allocations: 74.56 kB / 1.424 GB, free: 8.336 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/1.247, allocations: 0.9314 MB / 1.424 GB, free: 7.668 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/1.247, allocations: 0.5 kB / 1.424 GB, free: 7.668 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.442e-05/1.247, allocations: 34.19 kB / 1.424 GB, free: 7.645 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/1.247, allocations: 30.84 kB / 1.424 GB, free: 7.641 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009581/1.248, allocations: 0.622 MB / 1.425 GB, free: 7.332 MB / 1.092 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.004869/1.253, allocations: 4.586 MB / 1.43 GB, free: 3.113 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008485/1.254, allocations: 0.5277 MB / 1.43 GB, free: 2.742 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003264/1.254, allocations: 234.2 kB / 1.43 GB, free: 2.613 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.254, allocations: 104.6 kB / 1.43 GB, free: 2.508 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/1.254, allocations: 43.22 kB / 1.43 GB, free: 2.461 MB / 1.092 GB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/1.254, allocations: 0 / 1.43 GB, free: 2.461 MB / 1.092 GB Notification: Performance of matching and sorting (n=45): time 0.002905/1.257, allocations: 1.627 MB / 1.432 GB, free: 1.383 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.357e-05/1.257, allocations: 112.7 kB / 1.432 GB, free: 1.254 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009172/1.258, allocations: 0.7145 MB / 1.433 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.835e-05/1.258, allocations: 33.7 kB / 1.433 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/1.258, allocations: 428.5 kB / 1.433 GB, free: 104 kB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/1.259, allocations: 166.6 kB / 1.433 GB, free: 15.94 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/1.259, allocations: 118.2 kB / 1.434 GB, free: 15.82 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.259, allocations: 334 kB / 1.434 GB, free: 15.48 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/1.259, allocations: 185.2 kB / 1.434 GB, free: 15.3 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/1.26, allocations: 421 kB / 1.434 GB, free: 14.8 MB / 1.107 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.002412/1.262, allocations: 1.177 MB / 1.436 GB, free: 13.52 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.262, allocations: 4 kB / 1.436 GB, free: 13.51 MB / 1.107 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001093/1.263, allocations: 0.6723 MB / 1.436 GB, free: 12.83 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.263, allocations: 15.94 kB / 1.436 GB, free: 12.82 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.263, allocations: 8.562 kB / 1.436 GB, free: 12.81 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.734e-05/1.263, allocations: 11.98 kB / 1.436 GB, free: 12.8 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/1.264, allocations: 123.8 kB / 1.436 GB, free: 12.68 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/1.264, allocations: 11.94 kB / 1.436 GB, free: 12.66 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/1.264, allocations: 24.8 kB / 1.436 GB, free: 12.64 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/1.264, allocations: 32 kB / 1.436 GB, free: 12.61 MB / 1.107 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.0004441/1.265, allocations: 273.6 kB / 1.437 GB, free: 12.33 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/1.265, allocations: 87.42 kB / 1.437 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/1.265, allocations: 87.66 kB / 1.437 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/1.265, allocations: 11.94 kB / 1.437 GB, free: 12.15 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.265, allocations: 0 / 1.437 GB, free: 12.15 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007974/1.266, allocations: 0.7027 MB / 1.438 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/1.269, allocations: 1.645 MB / 1.439 GB, free: 9.609 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/1.269, allocations: 4.094 kB / 1.439 GB, free: 9.605 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004703/1.269, allocations: 99.89 kB / 1.439 GB, free: 9.508 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/1.269, allocations: 11.92 kB / 1.439 GB, free: 9.496 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/1.269, allocations: 15.98 kB / 1.439 GB, free: 9.48 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/1.269, allocations: 11.94 kB / 1.439 GB, free: 9.469 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.269, allocations: 8.062 kB / 1.439 GB, free: 9.465 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/1.27, allocations: 0.8732 MB / 1.44 GB, free: 8.527 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/1.271, allocations: 208.5 kB / 1.44 GB, free: 8.305 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.322e-05/1.271, allocations: 23.88 kB / 1.44 GB, free: 8.281 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000439/1.271, allocations: 19.98 kB / 1.44 GB, free: 8.262 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/1.271, allocations: 31.91 kB / 1.44 GB, free: 8.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/1.271, allocations: 23.98 kB / 1.441 GB, free: 8.207 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006725/1.272, allocations: 0.5107 MB / 1.441 GB, free: 7.699 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.272, allocations: 3.938 kB / 1.441 GB, free: 7.695 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007769/1.273, allocations: 203.9 kB / 1.441 GB, free: 7.496 MB / 1.107 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.0005351/1.273, allocations: 186.1 kB / 1.441 GB, free: 7.328 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000824/1.274, allocations: 467.3 kB / 1.442 GB, free: 6.871 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.274, allocations: 0 / 1.442 GB, free: 6.871 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003058/1.274, allocations: 201.9 kB / 1.442 GB, free: 6.676 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/1.276, allocations: 488 kB / 1.442 GB, free: 6.223 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/1.279, allocations: 1.748 MB / 1.444 GB, free: 4.387 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/1.28, allocations: 1.032 MB / 1.445 GB, free: 3.328 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/1.28, allocations: 63.44 kB / 1.445 GB, free: 3.266 MB / 1.107 GB Notification: Performance of SimCode: time 5.71e-07/1.28, allocations: 0 / 1.445 GB, free: 3.266 MB / 1.107 GB Notification: Performance of Templates: time 0.0237/1.304, allocations: 13.04 MB / 1.458 GB, free: 6.371 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.316472406964749]