Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001326/0.001326, allocations: 102.1 kB / 19.7 MB, free: 2.25 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.001514/0.001514, allocations: 218.6 kB / 23.01 MB, free: 5.086 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.691/2.691, allocations: 476.7 MB / 0.7714 GB, free: 4.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002047/0.002047, allocations: 69.02 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3502, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2234/0.5736, allocations: 191 MB / 1.471 GB, free: 11.48 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.5904, allocations: 13.21 MB / 1.484 GB, free: 14.23 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.5916, allocations: 39.69 kB / 1.484 GB, free: 14.19 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.593, allocations: 425.2 kB / 1.485 GB, free: 13.77 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.5954, allocations: 0.98 MB / 1.485 GB, free: 12.79 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.5973, allocations: 0.7418 MB / 1.486 GB, free: 12.05 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002193/0.5995, allocations: 1.539 MB / 1.488 GB, free: 10.51 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008044/0.6003, allocations: 499 kB / 1.488 GB, free: 10 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004203/0.6045, allocations: 1.814 MB / 1.49 GB, free: 8.184 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.6061, allocations: 0.5417 MB / 1.49 GB, free: 7.648 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.6062, allocations: 52 kB / 1.491 GB, free: 7.598 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.6079, allocations: 0.9198 MB / 1.491 GB, free: 6.676 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003094/0.6082, allocations: 287.1 kB / 1.492 GB, free: 6.395 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.6087, allocations: 394 kB / 1.492 GB, free: 6.008 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.6104, allocations: 1.175 MB / 1.493 GB, free: 4.828 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6104, allocations: 0 / 1.493 GB, free: 4.828 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6104, allocations: 4 kB / 1.493 GB, free: 4.824 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.6104, allocations: 3.938 kB / 1.493 GB, free: 4.82 MB / 1.186 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.001528/0.612, allocations: 1.002 MB / 1.494 GB, free: 3.781 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.612, allocations: 8.031 kB / 1.494 GB, free: 3.773 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009254/0.6129, allocations: 191.3 kB / 1.494 GB, free: 3.586 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009394/0.6139, allocations: 0.4959 MB / 1.495 GB, free: 3.066 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.111e-05/0.6139, allocations: 41.31 kB / 1.495 GB, free: 3.023 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-05/0.614, allocations: 63.98 kB / 1.495 GB, free: 2.961 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.6152, allocations: 0.7711 MB / 1.496 GB, free: 2.078 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6152, allocations: 0 / 1.496 GB, free: 2.078 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.6153, allocations: 31.92 kB / 1.496 GB, free: 2.047 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-05/0.6153, allocations: 28.92 kB / 1.496 GB, free: 2.02 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009359/0.6163, allocations: 463.2 kB / 1.496 GB, free: 1.566 MB / 1.186 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.004268/0.6205, allocations: 4.335 MB / 1.5 GB, free: 13.01 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.6207, allocations: 102.4 kB / 1.501 GB, free: 12.88 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.6208, allocations: 67.5 kB / 1.501 GB, free: 12.8 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.6209, allocations: 23.98 kB / 1.501 GB, free: 12.77 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.621, allocations: 34.56 kB / 1.501 GB, free: 12.73 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.621, allocations: 0 / 1.501 GB, free: 12.73 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0007087/0.6217, allocations: 253.1 kB / 1.501 GB, free: 12.48 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.6218, allocations: 132.5 kB / 1.501 GB, free: 12.32 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.6229, allocations: 0.837 MB / 1.502 GB, free: 11.47 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.623, allocations: 25.7 kB / 1.502 GB, free: 11.44 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.6233, allocations: 419.7 kB / 1.502 GB, free: 11.03 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.6233, allocations: 35.73 kB / 1.502 GB, free: 10.99 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.6235, allocations: 89.97 kB / 1.502 GB, free: 10.9 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6236, allocations: 329.8 kB / 1.503 GB, free: 10.57 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.6239, allocations: 112.7 kB / 1.503 GB, free: 10.46 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.6244, allocations: 369.5 kB / 1.503 GB, free: 9.984 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.625, allocations: 437.6 kB / 1.504 GB, free: 9.449 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.625, allocations: 7.984 kB / 1.504 GB, free: 9.441 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009405/0.626, allocations: 0.5051 MB / 1.504 GB, free: 8.93 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.626, allocations: 8 kB / 1.504 GB, free: 8.922 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.626, allocations: 12.45 kB / 1.504 GB, free: 8.91 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.626, allocations: 8 kB / 1.504 GB, free: 8.902 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.6263, allocations: 95.83 kB / 1.504 GB, free: 8.809 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.6264, allocations: 19.92 kB / 1.504 GB, free: 8.789 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006494/0.627, allocations: 111.3 kB / 1.504 GB, free: 8.68 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.627, allocations: 31.88 kB / 1.504 GB, free: 8.648 MB / 1.201 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.0002714/0.6273, allocations: 229.6 kB / 1.505 GB, free: 8.414 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.6275, allocations: 79.48 kB / 1.505 GB, free: 8.336 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.6276, allocations: 78.25 kB / 1.505 GB, free: 8.258 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.6276, allocations: 4 kB / 1.505 GB, free: 8.254 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6276, allocations: 7.938 kB / 1.505 GB, free: 8.246 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6276, allocations: 0 / 1.505 GB, free: 8.246 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.629, allocations: 1.092 MB / 1.506 GB, free: 7.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.629, allocations: 0 / 1.506 GB, free: 7.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.6291, allocations: 23.94 kB / 1.506 GB, free: 7.047 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.6291, allocations: 4 kB / 1.506 GB, free: 7.043 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.6291, allocations: 0 / 1.506 GB, free: 7.043 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6291, allocations: 4.312 kB / 1.506 GB, free: 7.039 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6291, allocations: 8 kB / 1.506 GB, free: 7.031 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.6294, allocations: 268.2 kB / 1.506 GB, free: 6.723 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.6297, allocations: 103.4 kB / 1.506 GB, free: 6.621 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.805e-05/0.6297, allocations: 4 kB / 1.506 GB, free: 6.617 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/0.6301, allocations: 20.05 kB / 1.506 GB, free: 6.598 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.6301, allocations: 19.92 kB / 1.506 GB, free: 6.578 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.6301, allocations: 4 kB / 1.506 GB, free: 6.574 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008327/0.6309, allocations: 0.5849 MB / 1.507 GB, free: 5.992 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6309, allocations: 0 / 1.507 GB, free: 5.992 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005654/0.6315, allocations: 155.8 kB / 1.507 GB, free: 5.84 MB / 1.201 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.0004142/0.6319, allocations: 173 kB / 1.507 GB, free: 5.668 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0005325/0.6324, allocations: 241.2 kB / 1.507 GB, free: 5.434 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6324, allocations: 0 / 1.507 GB, free: 5.434 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 7.062e-05/0.6325, allocations: 43.86 kB / 1.507 GB, free: 5.391 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.6341, allocations: 379.9 kB / 1.508 GB, free: 5.027 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.6358, allocations: 1.133 MB / 1.509 GB, free: 3.828 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.6364, allocations: 0.9331 MB / 1.51 GB, free: 2.867 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.6365, allocations: 55.44 kB / 1.51 GB, free: 2.812 MB / 1.201 GB Notification: Performance of SimCode: time 5.31e-07/0.6365, allocations: 4 kB / 1.51 GB, free: 2.809 MB / 1.201 GB Notification: Performance of Templates: time 0.01718/0.6537, allocations: 10.79 MB / 1.52 GB, free: 8.141 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.902833658008603]