Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001704/0.001704, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002228/0.002228, allocations: 215.8 kB / 23.04 MB, free: 5.07 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.899/2.899, allocations: 476.7 MB / 0.7715 GB, free: 4.449 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="cs",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.002139/0.002139, allocations: 66.27 kB / 1.118 GB, free: 39.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3332, allocations: 170 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.2086/0.5417, allocations: 174.5 MB / 1.455 GB, free: 12.48 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006187/0.5479, allocations: 3.406 MB / 1.458 GB, free: 9.066 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006975/0.5486, allocations: 31.75 kB / 1.458 GB, free: 9.035 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.00139/0.55, allocations: 326.1 kB / 1.458 GB, free: 8.715 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.5536, allocations: 1.074 MB / 1.459 GB, free: 7.637 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/0.5555, allocations: 0.6998 MB / 1.46 GB, free: 6.941 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002321/0.5578, allocations: 1.569 MB / 1.461 GB, free: 5.371 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008392/0.5587, allocations: 381.8 kB / 1.462 GB, free: 4.996 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.5604, allocations: 0.5954 MB / 1.462 GB, free: 4.398 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.5623, allocations: 0.4967 MB / 1.463 GB, free: 3.902 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.5625, allocations: 56 kB / 1.463 GB, free: 3.848 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/0.5652, allocations: 0.9002 MB / 1.464 GB, free: 2.945 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004907/0.5657, allocations: 255.2 kB / 1.464 GB, free: 2.695 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007451/0.5664, allocations: 342.5 kB / 1.464 GB, free: 2.359 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.5695, allocations: 1.125 MB / 1.465 GB, free: 1.23 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.5695, allocations: 0 / 1.465 GB, free: 1.23 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5695, allocations: 0 / 1.465 GB, free: 1.23 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.473e-05/0.5695, allocations: 0 / 1.465 GB, free: 1.23 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002507/0.572, allocations: 0.8626 MB / 1.466 GB, free: 340 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5721, allocations: 8.031 kB / 1.466 GB, free: 332 kB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.14e-05/0.5721, allocations: 16.94 kB / 1.466 GB, free: 316 kB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.5722, allocations: 86.52 kB / 1.466 GB, free: 220 kB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.5736, allocations: 175.5 kB / 1.467 GB, free: 44 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.5747, allocations: 474.4 kB / 1.467 GB, free: 15.55 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.64e-05/0.5747, allocations: 37 kB / 1.467 GB, free: 15.52 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.5748, allocations: 40 kB / 1.467 GB, free: 15.48 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/0.5757, allocations: 474.4 kB / 1.468 GB, free: 15.01 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.5757, allocations: 3.938 kB / 1.468 GB, free: 15.01 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.5757, allocations: 16 kB / 1.468 GB, free: 14.99 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.5758, allocations: 21 kB / 1.468 GB, free: 14.97 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.5765, allocations: 415.7 kB / 1.468 GB, free: 14.57 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.003136/0.5796, allocations: 1.691 MB / 1.47 GB, free: 12.75 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.5802, allocations: 294.5 kB / 1.47 GB, free: 12.45 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.5805, allocations: 164.8 kB / 1.47 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.5806, allocations: 23.98 kB / 1.47 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.5807, allocations: 30.56 kB / 1.47 GB, free: 12.23 MB / 1.17 GB Notification: Performance of pre-optimization done (n=31): time 2.435e-06/0.5807, allocations: 0 / 1.47 GB, free: 12.23 MB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.0023/0.583, allocations: 1.001 MB / 1.471 GB, free: 11.19 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.583, allocations: 59.39 kB / 1.471 GB, free: 11.12 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.5836, allocations: 449.9 kB / 1.472 GB, free: 10.68 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.5837, allocations: 33.7 kB / 1.472 GB, free: 10.64 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.5839, allocations: 252.5 kB / 1.472 GB, free: 10.39 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.584, allocations: 126.9 kB / 1.472 GB, free: 10.26 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/0.5841, allocations: 65.7 kB / 1.472 GB, free: 10.19 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.5843, allocations: 362.8 kB / 1.472 GB, free: 9.828 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.5846, allocations: 123.9 kB / 1.473 GB, free: 9.707 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.5849, allocations: 201.5 kB / 1.473 GB, free: 9.488 MB / 1.17 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 (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.587, allocations: 0.7825 MB / 1.473 GB, free: 8.688 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.587, allocations: 0 / 1.473 GB, free: 8.688 MB / 1.17 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008261/0.5879, allocations: 424.8 kB / 1.474 GB, free: 8.266 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5879, allocations: 4 kB / 1.474 GB, free: 8.262 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.5879, allocations: 4 kB / 1.474 GB, free: 8.258 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.5879, allocations: 4 kB / 1.474 GB, free: 8.254 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.5883, allocations: 67.91 kB / 1.474 GB, free: 8.188 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.5883, allocations: 4 kB / 1.474 GB, free: 8.184 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/0.5888, allocations: 12 kB / 1.474 GB, free: 8.172 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.5888, allocations: 8 kB / 1.474 GB, free: 8.164 MB / 1.17 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: 7 * 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 (42): * Single equations (assignments): 42 * 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.0004023/0.5892, allocations: 225.8 kB / 1.474 GB, free: 7.934 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.5893, allocations: 47.72 kB / 1.474 GB, free: 7.887 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.5895, allocations: 60.77 kB / 1.474 GB, free: 7.828 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/0.5895, allocations: 8 kB / 1.474 GB, free: 7.82 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5895, allocations: 0 / 1.474 GB, free: 7.82 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006032/0.5901, allocations: 408.8 kB / 1.475 GB, free: 7.391 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.5924, allocations: 1.213 MB / 1.476 GB, free: 6.078 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/0.5924, allocations: 3.984 kB / 1.476 GB, free: 6.074 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.5927, allocations: 79.84 kB / 1.476 GB, free: 5.996 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.5928, allocations: 11.92 kB / 1.476 GB, free: 5.984 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.5928, allocations: 12 kB / 1.476 GB, free: 5.973 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.5928, allocations: 4 kB / 1.476 GB, free: 5.969 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5928, allocations: 4 kB / 1.476 GB, free: 5.965 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.5939, allocations: 0.7121 MB / 1.477 GB, free: 5.188 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/0.5942, allocations: 103.7 kB / 1.477 GB, free: 5.086 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.982e-05/0.5943, allocations: 8 kB / 1.477 GB, free: 5.078 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.5948, allocations: 21.86 kB / 1.477 GB, free: 5.059 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.5949, allocations: 31.75 kB / 1.477 GB, free: 5.027 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-05/0.5949, allocations: 23.98 kB / 1.477 GB, free: 5.004 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004575/0.5954, allocations: 335.1 kB / 1.477 GB, free: 4.676 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5954, allocations: 0 / 1.477 GB, free: 4.676 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006366/0.596, allocations: 140 kB / 1.477 GB, free: 4.539 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.U) * 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 (33): * Single equations (assignments): 33 * 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.001557/0.5976, allocations: 1.293 MB / 1.479 GB, free: 3.168 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0006554/0.5982, allocations: 314.2 kB / 1.479 GB, free: 2.863 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5982, allocations: 4 kB / 1.479 GB, free: 2.859 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.5985, allocations: 156.4 kB / 1.479 GB, free: 2.707 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.6004, allocations: 370.6 kB / 1.479 GB, free: 2.352 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006555/0.607, allocations: 4.432 MB / 1.484 GB, free: 13.7 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.6076, allocations: 0.8784 MB / 1.485 GB, free: 12.79 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0005445/0.6081, allocations: 136.7 kB / 1.485 GB, free: 12.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.6084, allocations: 167.4 kB / 1.485 GB, free: 12.49 MB / 1.186 GB Notification: Performance of SimCode: time 1.052e-06/0.6084, allocations: 0 / 1.485 GB, free: 12.49 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04871/0.6571, allocations: 15.91 MB / 1.5 GB, free: 12.9 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.22, allocations: 8.047 kB / 1.5 GB, free: 12.9 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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: 20.278634638991207]