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.001733/0.001733, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002146/0.002146, allocations: 215.9 kB / 22.25 MB, free: 4.855 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.713/1.713, allocations: 230.6 MB / 256 MB, free: 7.789 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 3.009/3.009, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] 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.002205/0.002205, allocations: 70.75 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3651, allocations: 170 MB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2288/0.5939, allocations: 165.4 MB / 1.445 GB, free: 5.828 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.6128, allocations: 11.98 MB / 1.456 GB, free: 9.812 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.6139, allocations: 43.62 kB / 1.456 GB, free: 9.77 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001527/0.6155, allocations: 413.3 kB / 1.457 GB, free: 9.363 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.6183, allocations: 0.9605 MB / 1.458 GB, free: 8.398 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.6204, allocations: 0.7324 MB / 1.458 GB, free: 7.672 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002281/0.6227, allocations: 1.52 MB / 1.46 GB, free: 6.148 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008595/0.6235, allocations: 487.1 kB / 1.46 GB, free: 5.656 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004398/0.6279, allocations: 1.763 MB / 1.462 GB, free: 3.887 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.6296, allocations: 0.5283 MB / 1.463 GB, free: 3.363 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.6297, allocations: 56 kB / 1.463 GB, free: 3.309 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.6314, allocations: 0.7248 MB / 1.463 GB, free: 2.582 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.6317, allocations: 287.1 kB / 1.464 GB, free: 2.301 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003999/0.6321, allocations: 314.5 kB / 1.464 GB, free: 1.992 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.6339, allocations: 1.168 MB / 1.465 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6339, allocations: 0 / 1.465 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6339, allocations: 0 / 1.465 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.634, allocations: 0 / 1.465 GB, free: 0.8203 MB / 1.154 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.001653/0.6356, allocations: 0.9985 MB / 1.466 GB, free: 15.78 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.6356, allocations: 12.03 kB / 1.466 GB, free: 15.77 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009856/0.6366, allocations: 199 kB / 1.466 GB, free: 15.58 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.6376, allocations: 499.8 kB / 1.467 GB, free: 15.06 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.6377, allocations: 41.31 kB / 1.467 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.828e-05/0.6378, allocations: 60 kB / 1.467 GB, free: 14.96 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.6391, allocations: 0.7962 MB / 1.468 GB, free: 14.05 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.6391, allocations: 7.938 kB / 1.468 GB, free: 14.04 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.6392, allocations: 27.94 kB / 1.468 GB, free: 14.01 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.6392, allocations: 21 kB / 1.468 GB, free: 13.99 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.6402, allocations: 455.3 kB / 1.468 GB, free: 13.55 MB / 1.17 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.004107/0.6443, allocations: 3.878 MB / 1.472 GB, free: 9.512 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.6444, allocations: 94.36 kB / 1.472 GB, free: 9.383 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.6446, allocations: 79.52 kB / 1.472 GB, free: 9.293 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.6447, allocations: 15.98 kB / 1.472 GB, free: 9.277 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.6447, allocations: 38.56 kB / 1.472 GB, free: 9.23 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 2.605e-06/0.6447, allocations: 0 / 1.472 GB, free: 9.23 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0005842/0.6453, allocations: 209.2 kB / 1.472 GB, free: 9.02 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.6454, allocations: 128.5 kB / 1.472 GB, free: 8.863 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008626/0.6463, allocations: 0.585 MB / 1.473 GB, free: 8.27 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.6463, allocations: 29.7 kB / 1.473 GB, free: 8.234 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.6466, allocations: 439.8 kB / 1.473 GB, free: 7.797 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.6467, allocations: 43.69 kB / 1.473 GB, free: 7.754 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.6468, allocations: 89.97 kB / 1.474 GB, free: 7.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.647, allocations: 362.7 kB / 1.474 GB, free: 7.297 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.6473, allocations: 112.6 kB / 1.474 GB, free: 7.188 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/0.6479, allocations: 0.5114 MB / 1.474 GB, free: 6.523 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.6485, allocations: 441.5 kB / 1.475 GB, free: 5.984 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.6486, allocations: 4 kB / 1.475 GB, free: 5.98 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009605/0.6495, allocations: 489.3 kB / 1.475 GB, free: 5.496 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6495, allocations: 11.94 kB / 1.475 GB, free: 5.484 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.6495, allocations: 15.94 kB / 1.475 GB, free: 5.469 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.6496, allocations: 15.98 kB / 1.475 GB, free: 5.453 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/0.6499, allocations: 92.55 kB / 1.476 GB, free: 5.363 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.6499, allocations: 15.94 kB / 1.476 GB, free: 5.348 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.6505, allocations: 87.61 kB / 1.476 GB, free: 5.262 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.536e-05/0.6505, allocations: 28 kB / 1.476 GB, free: 5.234 MB / 1.17 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.0003052/0.6508, allocations: 229.5 kB / 1.476 GB, free: 5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.651, allocations: 55.62 kB / 1.476 GB, free: 4.945 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.411e-05/0.6511, allocations: 56.11 kB / 1.476 GB, free: 4.891 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6511, allocations: 4 kB / 1.476 GB, free: 4.887 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6511, allocations: 0 / 1.476 GB, free: 4.887 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6511, allocations: 4 kB / 1.476 GB, free: 4.883 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.6524, allocations: 0.9914 MB / 1.477 GB, free: 3.82 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.6524, allocations: 7.938 kB / 1.477 GB, free: 3.812 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.412e-05/0.6525, allocations: 19.92 kB / 1.477 GB, free: 3.793 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.6525, allocations: 4 kB / 1.477 GB, free: 3.789 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.6526, allocations: 4 kB / 1.477 GB, free: 3.785 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.6526, allocations: 4 kB / 1.477 GB, free: 3.781 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6526, allocations: 0 / 1.477 GB, free: 3.781 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.6529, allocations: 244.7 kB / 1.477 GB, free: 3.496 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.653, allocations: 75.52 kB / 1.477 GB, free: 3.422 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/0.6531, allocations: 4 kB / 1.477 GB, free: 3.418 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.6533, allocations: 15.98 kB / 1.477 GB, free: 3.402 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.6534, allocations: 11.98 kB / 1.477 GB, free: 3.391 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.6534, allocations: 4 kB / 1.477 GB, free: 3.387 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006156/0.654, allocations: 414.7 kB / 1.478 GB, free: 2.984 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/0.654, allocations: 0 / 1.478 GB, free: 2.984 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006607/0.6547, allocations: 179.5 kB / 1.478 GB, free: 2.809 MB / 1.17 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.0004974/0.6551, allocations: 183.8 kB / 1.478 GB, free: 2.629 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.6557, allocations: 241.3 kB / 1.478 GB, free: 2.395 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.6557, allocations: 0 / 1.478 GB, free: 2.395 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.6558, allocations: 48.3 kB / 1.478 GB, free: 2.348 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009932/0.6568, allocations: 211.1 kB / 1.479 GB, free: 2.152 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.6585, allocations: 1.041 MB / 1.48 GB, free: 1.051 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.6589, allocations: 343.8 kB / 1.48 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003543/0.6592, allocations: 112.5 kB / 1.48 GB, free: 0.582 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-05/0.6593, allocations: 39.42 kB / 1.48 GB, free: 0.543 MB / 1.17 GB Notification: Performance of SimCode: time 6.01e-07/0.6593, allocations: 0 / 1.48 GB, free: 0.543 MB / 1.17 GB Notification: Performance of Templates: time 0.01726/0.6766, allocations: 8.614 MB / 1.488 GB, free: 8.164 MB / 1.186 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/jenkins/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: 10.09147086367011]