Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009521/0.0009521, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005723/0.005723, allocations: 171.5 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004222, allocations: 16 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6377/0.6382, allocations: 142.4 MB / 0.9552 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.186/0.8242, allocations: 166.3 MB / 1.118 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006028/0.8303, allocations: 3.399 MB / 1.121 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005074/0.8309, allocations: 19.88 kB / 1.121 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008225/0.8317, allocations: 274.5 kB / 1.121 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002452/0.8342, allocations: 0.9566 MB / 1.122 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.8356, allocations: 0.5998 MB / 1.123 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002059/0.8377, allocations: 2.11 MB / 1.125 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005067/0.8382, allocations: 390 kB / 1.125 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006736/0.8389, allocations: 481.8 kB / 1.126 GB, free: 172 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009438/0.8398, allocations: 470.3 kB / 1.126 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.8399, allocations: 27.92 kB / 1.126 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.8417, allocations: 0.9428 MB / 1.127 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.842, allocations: 215.3 kB / 1.127 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000354/0.8423, allocations: 316.3 kB / 1.128 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.8438, allocations: 1.145 MB / 1.129 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.8438, allocations: 3.938 kB / 1.129 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8438, allocations: 0 / 1.129 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.8438, allocations: 0 / 1.129 GB, free: 13.05 MB / 0.8887 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.001266/0.8451, allocations: 0.787 MB / 1.129 GB, free: 12.22 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.8452, allocations: 8.031 kB / 1.129 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001054/0.8453, allocations: 86.52 kB / 1.129 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.8465, allocations: 175.1 kB / 1.13 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007481/0.8472, allocations: 0.4974 MB / 1.13 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.8473, allocations: 37 kB / 1.13 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-05/0.8474, allocations: 43.98 kB / 1.13 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007865/0.8482, allocations: 478.4 kB / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.8482, allocations: 3.938 kB / 1.131 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.8482, allocations: 16 kB / 1.131 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.8483, allocations: 21 kB / 1.131 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006208/0.8489, allocations: 415.7 kB / 1.131 GB, free: 10.41 MB / 0.8887 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.002374/0.8513, allocations: 1.732 MB / 1.133 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.8518, allocations: 300.2 kB / 1.133 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.852, allocations: 186.8 kB / 1.133 GB, free: 8.059 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.8522, allocations: 93.11 kB / 1.133 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.8522, allocations: 42.55 kB / 1.133 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.8522, allocations: 0 / 1.133 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of matching and sorting (n=33): time 0.001891/0.8541, allocations: 1.058 MB / 1.134 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.8542, allocations: 55.41 kB / 1.134 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/0.8547, allocations: 461.8 kB / 1.135 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.8547, allocations: 33.7 kB / 1.135 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.8549, allocations: 248.2 kB / 1.135 GB, free: 5.98 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.969e-05/0.855, allocations: 114.3 kB / 1.135 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.8551, allocations: 37.7 kB / 1.135 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.8552, allocations: 358.8 kB / 1.136 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.8555, allocations: 123.9 kB / 1.136 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.8557, allocations: 189.7 kB / 1.136 GB, free: 5.137 MB / 0.8887 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.001902/0.8576, allocations: 0.8702 MB / 1.137 GB, free: 4.227 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8577, allocations: 7.938 kB / 1.137 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006074/0.8583, allocations: 416.6 kB / 1.137 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8583, allocations: 4 kB / 1.137 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.8583, allocations: 0 / 1.137 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.8583, allocations: 4 kB / 1.137 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.8586, allocations: 71.91 kB / 1.137 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.8586, allocations: 7.938 kB / 1.137 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.8591, allocations: 39.89 kB / 1.137 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.8591, allocations: 16 kB / 1.137 GB, free: 3.664 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0002424/0.8594, allocations: 219.8 kB / 1.138 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/0.8595, allocations: 47.44 kB / 1.138 GB, free: 3.395 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.8596, allocations: 56.77 kB / 1.138 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.8596, allocations: 4 kB / 1.138 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8596, allocations: 4 kB / 1.138 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004721/0.8601, allocations: 412.5 kB / 1.138 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.8618, allocations: 1.242 MB / 1.139 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.8618, allocations: 4.5 kB / 1.139 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.8622, allocations: 75.91 kB / 1.139 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.8622, allocations: 4 kB / 1.139 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.8622, allocations: 19.98 kB / 1.139 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.8622, allocations: 7.938 kB / 1.139 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.8622, allocations: 4 kB / 1.139 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008223/0.8631, allocations: 0.6994 MB / 1.14 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/0.8633, allocations: 164.5 kB / 1.14 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.8633, allocations: 15.98 kB / 1.14 GB, free: 480 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004388/0.8638, allocations: 35.98 kB / 1.14 GB, free: 444 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.8639, allocations: 31.84 kB / 1.14 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.8639, allocations: 23.98 kB / 1.14 GB, free: 388 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000334/0.8642, allocations: 323.1 kB / 1.141 GB, free: 68 kB / 0.8887 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8642, allocations: 4 kB / 1.141 GB, free: 64 kB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005343/0.8648, allocations: 144 kB / 1.141 GB, free: 15.92 MB / 0.9044 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.001506/0.8663, allocations: 1.308 MB / 1.142 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000552/0.8669, allocations: 316.4 kB / 1.142 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8669, allocations: 8.312 kB / 1.142 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.8671, allocations: 167.7 kB / 1.143 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.8691, allocations: 338 kB / 1.143 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.8751, allocations: 4.706 MB / 1.147 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/0.8756, allocations: 0.8862 MB / 1.148 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004681/0.8761, allocations: 132.6 kB / 1.148 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.8763, allocations: 167.4 kB / 1.149 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8763, allocations: 0 / 1.149 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.9034, allocations: 14.63 MB / 1.163 GB, free: 9.297 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.9036, allocations: 264.7 kB / 1.163 GB, free: 9.031 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/3.067, allocations: 0 / 1.163 GB, free: 9.031 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches