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.0008463/0.0008463, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001037/0.001037, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9161/0.9161, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.708/1.708, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.569e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.6523/0.6523, allocations: 150.6 MB / 1.098 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00442/0.6568, allocations: 3.2 MB / 1.101 GB, free: 37.21 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000662/0.6574, allocations: 36.41 kB / 1.101 GB, free: 37.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008431/0.6583, allocations: 316 kB / 1.101 GB, free: 37.05 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.6605, allocations: 1.077 MB / 1.102 GB, free: 36.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.662, allocations: 0.6973 MB / 1.103 GB, free: 36.43 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002423/0.6644, allocations: 1.572 MB / 1.104 GB, free: 35.76 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.6651, allocations: 368.9 kB / 1.105 GB, free: 35.62 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001095/0.6662, allocations: 0.7745 MB / 1.105 GB, free: 35.3 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009796/0.6672, allocations: 447.9 kB / 1.106 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.068e-05/0.6672, allocations: 54.12 kB / 1.106 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.6686, allocations: 0.7159 MB / 1.107 GB, free: 35.04 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.6689, allocations: 259.5 kB / 1.107 GB, free: 34.93 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.6691, allocations: 239.2 kB / 1.107 GB, free: 34.84 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.6707, allocations: 1.149 MB / 1.108 GB, free: 34.52 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6707, allocations: 4.734 kB / 1.108 GB, free: 34.52 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6707, allocations: 4 kB / 1.108 GB, free: 34.52 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.6707, allocations: 0 / 1.108 GB, free: 34.52 MB / 0.9948 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.001074/0.6718, allocations: 0.8513 MB / 1.109 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6719, allocations: 10.62 kB / 1.109 GB, free: 33.93 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.335e-05/0.6719, allocations: 86.59 kB / 1.109 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007383/0.6727, allocations: 180 kB / 1.109 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006204/0.6733, allocations: 467.9 kB / 1.11 GB, free: 33.52 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.6733, allocations: 35.44 kB / 1.11 GB, free: 33.51 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.6734, allocations: 43.25 kB / 1.11 GB, free: 33.49 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.674, allocations: 0.7194 MB / 1.111 GB, free: 32.99 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.674, allocations: 0 / 1.111 GB, free: 32.99 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.6741, allocations: 17.25 kB / 1.111 GB, free: 32.98 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.6741, allocations: 16.05 kB / 1.111 GB, free: 32.97 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.6746, allocations: 412 kB / 1.111 GB, free: 32.84 MB / 0.9948 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.001971/0.6766, allocations: 1.232 MB / 1.112 GB, free: 32.19 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.6769, allocations: 276.7 kB / 1.112 GB, free: 32.07 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.6771, allocations: 167.6 kB / 1.113 GB, free: 32.01 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.6772, allocations: 26.23 kB / 1.113 GB, free: 32 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.6773, allocations: 38.59 kB / 1.113 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 2.034e-06/0.6773, allocations: 0 / 1.113 GB, free: 31.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33): time 0.001528/0.6788, allocations: 0.994 MB / 1.114 GB, free: 31.43 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.6788, allocations: 55.16 kB / 1.114 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.6792, allocations: 451.4 kB / 1.114 GB, free: 31.16 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.6793, allocations: 36.62 kB / 1.114 GB, free: 31.12 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.6794, allocations: 259.8 kB / 1.114 GB, free: 30.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.726e-05/0.6795, allocations: 120.6 kB / 1.114 GB, free: 30.81 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/0.6796, allocations: 72.83 kB / 1.115 GB, free: 30.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.184e-05/0.6796, allocations: 359.5 kB / 1.115 GB, free: 30.43 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.6798, allocations: 130.3 kB / 1.115 GB, free: 30.39 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.68, allocations: 250.1 kB / 1.115 GB, free: 30.21 MB / 0.9948 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.001282/0.6813, allocations: 0.7882 MB / 1.116 GB, free: 29.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6813, allocations: 0 / 1.116 GB, free: 29.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004854/0.6817, allocations: 415.6 kB / 1.116 GB, free: 29.72 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.6818, allocations: 10.17 kB / 1.116 GB, free: 29.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.6818, allocations: 2.094 kB / 1.116 GB, free: 29.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.6818, allocations: 7.766 kB / 1.116 GB, free: 29.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.682, allocations: 67.52 kB / 1.117 GB, free: 29.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.682, allocations: 7.656 kB / 1.117 GB, free: 29.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.6822, allocations: 16.56 kB / 1.117 GB, free: 29.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.6822, allocations: 17.58 kB / 1.117 GB, free: 29.69 MB / 0.9948 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.0002001/0.6824, allocations: 211.4 kB / 1.117 GB, free: 29.53 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.6825, allocations: 53.11 kB / 1.117 GB, free: 29.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.75e-05/0.6826, allocations: 66.09 kB / 1.117 GB, free: 29.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.6826, allocations: 4 kB / 1.117 GB, free: 29.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.6826, allocations: 0 / 1.117 GB, free: 29.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003684/0.683, allocations: 407.6 kB / 1.117 GB, free: 29.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.6843, allocations: 1.144 MB / 1.118 GB, free: 28.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.6843, allocations: 3.688 kB / 1.118 GB, free: 28.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002087/0.6845, allocations: 79.08 kB / 1.118 GB, free: 28.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.6845, allocations: 10.25 kB / 1.118 GB, free: 28.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.6845, allocations: 15.14 kB / 1.118 GB, free: 28.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.6845, allocations: 5.844 kB / 1.118 GB, free: 28.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.6845, allocations: 8.031 kB / 1.118 GB, free: 28.49 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.6852, allocations: 0.6915 MB / 1.119 GB, free: 28.04 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.6853, allocations: 97.78 kB / 1.119 GB, free: 27.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.6853, allocations: 12.05 kB / 1.119 GB, free: 27.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.6856, allocations: 25.33 kB / 1.119 GB, free: 27.98 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.6856, allocations: 34.47 kB / 1.119 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.6857, allocations: 22.08 kB / 1.119 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003276/0.686, allocations: 330.6 kB / 1.12 GB, free: 27.81 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.61e-07/0.686, allocations: 3.938 kB / 1.12 GB, free: 27.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000535/0.6865, allocations: 136.6 kB / 1.12 GB, free: 27.8 MB / 0.9948 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.001129/0.6877, allocations: 1.278 MB / 1.121 GB, free: 26.81 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005428/0.6882, allocations: 325.7 kB / 1.121 GB, free: 26.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6882, allocations: 1.375 kB / 1.121 GB, free: 26.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.6884, allocations: 157.4 kB / 1.122 GB, free: 26.64 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.6896, allocations: 375 kB / 1.122 GB, free: 26.55 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/0.6944, allocations: 4.373 MB / 1.126 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.6947, allocations: 281.2 kB / 1.126 GB, free: 23.78 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005406/0.6952, allocations: 137.2 kB / 1.127 GB, free: 23.75 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.6954, allocations: 169.8 kB / 1.127 GB, free: 23.63 MB / 0.9948 GB Notification: Performance of SimCode: time 1.342e-06/0.6954, allocations: 0 / 1.127 GB, free: 23.63 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/0.7371, allocations: 17.41 MB / 1.144 GB, free: 21.35 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/8.094, allocations: 3.375 kB / 1.144 GB, free: 21.35 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 12.266403464600444]