Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001478/0.001478, allocations: 113 kB / 18.94 MB, free: 2.934 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.001632/0.001632, allocations: 209.6 kB / 22.25 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.062/3.062, allocations: 0.5096 GB / 0.8147 GB, free: 17.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002011/0.002011, allocations: 66.69 kB / 1.184 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 181.4 MB / 1.361 GB, free: 192 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2124/0.527, allocations: 191.1 MB / 1.548 GB, free: 388 kB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.5439, allocations: 13.21 MB / 1.561 GB, free: 3.129 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009601/0.5448, allocations: 39.69 kB / 1.561 GB, free: 3.09 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.5462, allocations: 421.2 kB / 1.561 GB, free: 2.676 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.5486, allocations: 0.9683 MB / 1.562 GB, free: 1.703 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.5505, allocations: 0.7438 MB / 1.563 GB, free: 0.9648 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.00222/0.5528, allocations: 1.52 MB / 1.565 GB, free: 15.44 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009271/0.5537, allocations: 0.499 MB / 1.565 GB, free: 14.93 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004009/0.5577, allocations: 1.923 MB / 1.567 GB, free: 13 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.5591, allocations: 0.5356 MB / 1.567 GB, free: 12.46 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.5593, allocations: 52 kB / 1.567 GB, free: 12.41 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.5609, allocations: 0.9082 MB / 1.568 GB, free: 11.5 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.5613, allocations: 283.1 kB / 1.569 GB, free: 11.23 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.5618, allocations: 386 kB / 1.569 GB, free: 10.85 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.5636, allocations: 1.179 MB / 1.57 GB, free: 9.664 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5636, allocations: 0 / 1.57 GB, free: 9.664 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5636, allocations: 0 / 1.57 GB, free: 9.664 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.76e-05/0.5636, allocations: 4 kB / 1.57 GB, free: 9.66 MB / 1.264 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.001667/0.5653, allocations: 1.004 MB / 1.571 GB, free: 8.621 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5653, allocations: 12.03 kB / 1.571 GB, free: 8.609 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009753/0.5663, allocations: 195.2 kB / 1.571 GB, free: 8.418 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009733/0.5672, allocations: 499.8 kB / 1.572 GB, free: 7.906 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.5673, allocations: 45.31 kB / 1.572 GB, free: 7.859 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/0.5674, allocations: 52 kB / 1.572 GB, free: 7.809 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.5686, allocations: 0.7711 MB / 1.573 GB, free: 6.93 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.5686, allocations: 3.938 kB / 1.573 GB, free: 6.926 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.5687, allocations: 31.94 kB / 1.573 GB, free: 6.895 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.5687, allocations: 24.98 kB / 1.573 GB, free: 6.867 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009089/0.5696, allocations: 459.2 kB / 1.573 GB, free: 6.422 MB / 1.264 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.004203/0.5738, allocations: 4.415 MB / 1.577 GB, free: 1.758 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.5739, allocations: 102.3 kB / 1.578 GB, free: 1.621 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.574, allocations: 71.58 kB / 1.578 GB, free: 1.539 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.5742, allocations: 19.94 kB / 1.578 GB, free: 1.52 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.5742, allocations: 42.55 kB / 1.578 GB, free: 1.469 MB / 1.264 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.5742, allocations: 0 / 1.578 GB, free: 1.469 MB / 1.264 GB Notification: Performance of matching and sorting (n=10): time 0.0006781/0.5749, allocations: 249.1 kB / 1.578 GB, free: 1.219 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.575, allocations: 132.5 kB / 1.578 GB, free: 1.059 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.5761, allocations: 0.8369 MB / 1.579 GB, free: 220 kB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.5761, allocations: 33.7 kB / 1.579 GB, free: 180 kB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.5765, allocations: 411.8 kB / 1.579 GB, free: 15.77 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.5765, allocations: 47.67 kB / 1.579 GB, free: 15.72 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.5767, allocations: 89.98 kB / 1.579 GB, free: 15.63 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5769, allocations: 325.9 kB / 1.58 GB, free: 15.3 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.5771, allocations: 108.7 kB / 1.58 GB, free: 15.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.5776, allocations: 369.7 kB / 1.58 GB, free: 14.72 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.5782, allocations: 437.8 kB / 1.581 GB, free: 14.19 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.5782, allocations: 0 / 1.581 GB, free: 14.19 MB / 1.279 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009794/0.5792, allocations: 0.5011 MB / 1.581 GB, free: 13.68 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.5792, allocations: 12.16 kB / 1.581 GB, free: 13.67 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.5792, allocations: 12.11 kB / 1.581 GB, free: 13.66 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.5793, allocations: 16 kB / 1.581 GB, free: 13.64 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.5796, allocations: 91.83 kB / 1.581 GB, free: 13.55 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.5796, allocations: 11.98 kB / 1.581 GB, free: 13.54 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.5802, allocations: 119.3 kB / 1.581 GB, free: 13.42 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.5803, allocations: 27.94 kB / 1.581 GB, free: 13.39 MB / 1.279 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.0002582/0.5805, allocations: 225.6 kB / 1.582 GB, free: 13.16 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.5807, allocations: 79.48 kB / 1.582 GB, free: 13.09 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.5808, allocations: 74.27 kB / 1.582 GB, free: 13.01 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5808, allocations: 7.938 kB / 1.582 GB, free: 13 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.5808, allocations: 4 kB / 1.582 GB, free: 13 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.5808, allocations: 0 / 1.582 GB, free: 13 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.5822, allocations: 1.092 MB / 1.583 GB, free: 11.82 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/0.5822, allocations: 4 kB / 1.583 GB, free: 11.82 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.5823, allocations: 12 kB / 1.583 GB, free: 11.81 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.5823, allocations: 7.984 kB / 1.583 GB, free: 11.8 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.5823, allocations: 7.938 kB / 1.583 GB, free: 11.79 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.5823, allocations: 7.938 kB / 1.583 GB, free: 11.79 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5823, allocations: 4.312 kB / 1.583 GB, free: 11.78 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.5826, allocations: 268.2 kB / 1.583 GB, free: 11.47 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.5828, allocations: 103.4 kB / 1.583 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.595e-05/0.5829, allocations: 4 kB / 1.583 GB, free: 11.37 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003146/0.5832, allocations: 19.98 kB / 1.583 GB, free: 11.35 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.5833, allocations: 19.86 kB / 1.583 GB, free: 11.33 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.5833, allocations: 4 kB / 1.583 GB, free: 11.32 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008498/0.5841, allocations: 0.5888 MB / 1.584 GB, free: 10.74 MB / 1.279 GB Notification: Performance of sort global known variables: time 6e-08/0.5841, allocations: 0 / 1.584 GB, free: 10.74 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0005676/0.5847, allocations: 155.8 kB / 1.584 GB, free: 10.59 MB / 1.279 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.0004037/0.5851, allocations: 173.8 kB / 1.584 GB, free: 10.41 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.5856, allocations: 233.1 kB / 1.584 GB, free: 10.19 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5856, allocations: 4 kB / 1.584 GB, free: 10.18 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 8.065e-05/0.5857, allocations: 51.84 kB / 1.584 GB, free: 10.13 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001504/0.5872, allocations: 378.5 kB / 1.585 GB, free: 9.773 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.5888, allocations: 1.077 MB / 1.586 GB, free: 8.637 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005903/0.5894, allocations: 0.9447 MB / 1.587 GB, free: 7.664 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.000441/0.5899, allocations: 142.1 kB / 1.587 GB, free: 7.523 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.59, allocations: 51.42 kB / 1.587 GB, free: 7.473 MB / 1.279 GB Notification: Performance of SimCode: time 7.92e-07/0.59, allocations: 4 kB / 1.587 GB, free: 7.469 MB / 1.279 GB Notification: Performance of Templates: time 0.0214/0.6114, allocations: 12.09 MB / 1.599 GB, free: 11.55 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.231549417134374]