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.001397/0.001397, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001543/0.001543, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.785 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.677/2.677, allocations: 476 MB / 0.7699 GB, free: 4.75 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [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.002083/0.002083, allocations: 68.95 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3223, allocations: 169.9 MB / 1.283 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2156/0.5379, allocations: 165.4 MB / 1.444 GB, free: 6.387 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.5551, allocations: 11.98 MB / 1.456 GB, free: 10.37 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001436/0.5566, allocations: 39.69 kB / 1.456 GB, free: 10.33 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.5583, allocations: 421.3 kB / 1.456 GB, free: 9.918 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.5612, allocations: 0.9605 MB / 1.457 GB, free: 8.953 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.5634, allocations: 0.718 MB / 1.458 GB, free: 8.238 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002387/0.5658, allocations: 1.528 MB / 1.459 GB, free: 6.707 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008581/0.5666, allocations: 499 kB / 1.46 GB, free: 6.203 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.5707, allocations: 1.767 MB / 1.462 GB, free: 4.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.5722, allocations: 0.5123 MB / 1.462 GB, free: 3.926 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5723, allocations: 52 kB / 1.462 GB, free: 3.875 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.5738, allocations: 0.7326 MB / 1.463 GB, free: 3.141 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.5742, allocations: 295.1 kB / 1.463 GB, free: 2.852 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004031/0.5746, allocations: 310.5 kB / 1.463 GB, free: 2.547 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.5763, allocations: 1.152 MB / 1.465 GB, free: 1.391 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5764, allocations: 0 / 1.465 GB, free: 1.391 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5764, allocations: 0 / 1.465 GB, free: 1.391 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.5764, allocations: 3.938 kB / 1.465 GB, free: 1.387 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.00155/0.5779, allocations: 1.006 MB / 1.466 GB, free: 352 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.578, allocations: 8.031 kB / 1.466 GB, free: 344 kB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.5781, allocations: 102.5 kB / 1.466 GB, free: 232 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009433/0.579, allocations: 195.3 kB / 1.466 GB, free: 36 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009868/0.58, allocations: 0.4919 MB / 1.466 GB, free: 15.52 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.5801, allocations: 45.31 kB / 1.466 GB, free: 15.47 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/0.5801, allocations: 52 kB / 1.466 GB, free: 15.42 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.5814, allocations: 0.804 MB / 1.467 GB, free: 14.5 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.5814, allocations: 0 / 1.467 GB, free: 14.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.5815, allocations: 31.94 kB / 1.467 GB, free: 14.46 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.5815, allocations: 25 kB / 1.467 GB, free: 14.44 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009261/0.5824, allocations: 461.7 kB / 1.468 GB, free: 13.99 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.004145/0.5866, allocations: 4.022 MB / 1.472 GB, free: 9.801 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.5868, allocations: 106.4 kB / 1.472 GB, free: 9.66 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.5869, allocations: 67.5 kB / 1.472 GB, free: 9.582 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001466/0.587, allocations: 23.98 kB / 1.472 GB, free: 9.559 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.5871, allocations: 30.56 kB / 1.472 GB, free: 9.52 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.923e-06/0.5871, allocations: 0 / 1.472 GB, free: 9.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0006868/0.5878, allocations: 257.5 kB / 1.472 GB, free: 9.262 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.5878, allocations: 128.5 kB / 1.472 GB, free: 9.105 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.589, allocations: 0.8563 MB / 1.473 GB, free: 8.242 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.589, allocations: 25.7 kB / 1.473 GB, free: 8.211 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/0.5894, allocations: 407.8 kB / 1.473 GB, free: 7.809 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.5894, allocations: 55.61 kB / 1.474 GB, free: 7.754 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.5896, allocations: 89.97 kB / 1.474 GB, free: 7.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002603/0.5898, allocations: 325.9 kB / 1.474 GB, free: 7.336 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/0.5902, allocations: 108.7 kB / 1.474 GB, free: 7.23 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.5908, allocations: 0.5153 MB / 1.475 GB, free: 6.562 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006183/0.5914, allocations: 445.6 kB / 1.475 GB, free: 6.02 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.5914, allocations: 4 kB / 1.475 GB, free: 6.016 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009647/0.5924, allocations: 0.4929 MB / 1.475 GB, free: 5.516 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.5924, allocations: 12 kB / 1.475 GB, free: 5.504 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5924, allocations: 4 kB / 1.475 GB, free: 5.5 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.5924, allocations: 12 kB / 1.475 GB, free: 5.488 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.5928, allocations: 96.33 kB / 1.476 GB, free: 5.395 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.5928, allocations: 23.92 kB / 1.476 GB, free: 5.371 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.5935, allocations: 121.8 kB / 1.476 GB, free: 5.254 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.5935, allocations: 24 kB / 1.476 GB, free: 5.23 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.0003309/0.5938, allocations: 237.6 kB / 1.476 GB, free: 4.988 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.594, allocations: 75.53 kB / 1.476 GB, free: 4.914 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.5941, allocations: 70.27 kB / 1.476 GB, free: 4.844 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.5941, allocations: 0 / 1.476 GB, free: 4.844 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5941, allocations: 4 kB / 1.476 GB, free: 4.84 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.5941, allocations: 3.938 kB / 1.476 GB, free: 4.836 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.5955, allocations: 1.038 MB / 1.477 GB, free: 3.715 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5955, allocations: 4 kB / 1.477 GB, free: 3.711 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.438e-05/0.5956, allocations: 19.92 kB / 1.477 GB, free: 3.691 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5956, allocations: 4 kB / 1.477 GB, free: 3.688 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.5956, allocations: 8 kB / 1.477 GB, free: 3.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.5956, allocations: 4 kB / 1.477 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5956, allocations: 0 / 1.477 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.596, allocations: 276.1 kB / 1.477 GB, free: 3.359 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.5962, allocations: 95.47 kB / 1.477 GB, free: 3.266 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-05/0.5963, allocations: 12.09 kB / 1.478 GB, free: 3.254 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.5966, allocations: 15.97 kB / 1.478 GB, free: 3.238 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.5966, allocations: 11.94 kB / 1.478 GB, free: 3.227 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.5966, allocations: 8 kB / 1.478 GB, free: 3.219 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008127/0.5975, allocations: 0.5888 MB / 1.478 GB, free: 2.633 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5975, allocations: 0 / 1.478 GB, free: 2.633 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005537/0.598, allocations: 155.8 kB / 1.478 GB, free: 2.48 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.0009673/0.599, allocations: 0.8753 MB / 1.479 GB, free: 1.555 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005698/0.5995, allocations: 240.5 kB / 1.479 GB, free: 1.32 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.5996, allocations: 0 / 1.479 GB, free: 1.32 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.627e-05/0.5996, allocations: 45.42 kB / 1.479 GB, free: 1.277 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/0.6013, allocations: 378.4 kB / 1.48 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007736/0.609, allocations: 5.468 MB / 1.485 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.6094, allocations: 340.6 kB / 1.485 GB, free: 10.73 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005381/0.6099, allocations: 146.1 kB / 1.486 GB, free: 10.59 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.6102, allocations: 235.4 kB / 1.486 GB, free: 10.36 MB / 1.186 GB Notification: Performance of SimCode: time 1.072e-06/0.6102, allocations: 0 / 1.486 GB, free: 10.36 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/0.6632, allocations: 20.08 MB / 1.505 GB, free: 6.789 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.78, allocations: 7.188 kB / 1.505 GB, free: 6.785 MB / 1.201 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/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] "Error: Could not read variable const.k in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv. Warning: Get data of variable const.k from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.31893175607547]