Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_latest_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.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001335/0.001335, allocations: 198.4 kB / 16.14 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.316/1.316, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 68.33 kB / 0.8985 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2386, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1615/0.4001, allocations: 168.5 MB / 1.217 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00471/0.4049, allocations: 3.425 MB / 1.22 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.4052, allocations: 19.88 kB / 1.22 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000726/0.406, allocations: 274.5 kB / 1.22 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.4077, allocations: 0.9454 MB / 1.221 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.409, allocations: 0.6047 MB / 1.222 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001829/0.4109, allocations: 2.116 MB / 1.224 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.4114, allocations: 401.1 kB / 1.224 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006709/0.4121, allocations: 493.8 kB / 1.225 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009289/0.413, allocations: 491.6 kB / 1.225 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/0.4131, allocations: 28 kB / 1.225 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.4145, allocations: 0.9468 MB / 1.226 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002193/0.4148, allocations: 215.4 kB / 1.226 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.4151, allocations: 306.5 kB / 1.227 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.4163, allocations: 1.149 MB / 1.228 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4163, allocations: 0 / 1.228 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.22e-07/0.4163, allocations: 4 kB / 1.228 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.4164, allocations: 0 / 1.228 GB, free: 3.629 MB / 0.9825 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.001332/0.4177, allocations: 0.9155 MB / 1.229 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4177, allocations: 8.031 kB / 1.229 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.4178, allocations: 90.47 kB / 1.229 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/0.419, allocations: 175.1 kB / 1.229 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.4197, allocations: 0.5013 MB / 1.23 GB, free: 1.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.4198, allocations: 36.98 kB / 1.23 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.4198, allocations: 51.94 kB / 1.23 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007805/0.4206, allocations: 474.4 kB / 1.23 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4206, allocations: 0 / 1.23 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.4207, allocations: 16 kB / 1.23 GB, free: 1.266 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.4207, allocations: 17 kB / 1.23 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006304/0.4214, allocations: 415.7 kB / 1.231 GB, free: 0.8438 MB / 0.9825 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.002393/0.4238, allocations: 1.732 MB / 1.232 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.4242, allocations: 286.6 kB / 1.232 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.4245, allocations: 182.5 kB / 1.233 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.4247, allocations: 105 kB / 1.233 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.4247, allocations: 38.56 kB / 1.233 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.4247, allocations: 0 / 1.233 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001999/0.4267, allocations: 1.06 MB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.4268, allocations: 51.41 kB / 1.234 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004533/0.4272, allocations: 461.9 kB / 1.234 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.4273, allocations: 33.7 kB / 1.234 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.4275, allocations: 252.1 kB / 1.235 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.444e-05/0.4276, allocations: 122.3 kB / 1.235 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.4277, allocations: 73.55 kB / 1.235 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.4279, allocations: 354.8 kB / 1.235 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002028/0.4281, allocations: 127.9 kB / 1.235 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.4284, allocations: 193.9 kB / 1.235 GB, free: 11.52 MB / 0.9981 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.001891/0.4303, allocations: 0.8727 MB / 1.236 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4303, allocations: 0 / 1.236 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005902/0.4309, allocations: 408.7 kB / 1.237 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4309, allocations: 7.938 kB / 1.237 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4309, allocations: 7.938 kB / 1.237 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4309, allocations: 4 kB / 1.237 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.4313, allocations: 72.09 kB / 1.237 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4313, allocations: 4 kB / 1.237 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.4317, allocations: 27.97 kB / 1.237 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.4317, allocations: 12 kB / 1.237 GB, free: 10.07 MB / 0.9981 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.0002441/0.432, allocations: 221.6 kB / 1.237 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-05/0.4321, allocations: 47.44 kB / 1.237 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.4322, allocations: 64.75 kB / 1.237 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4322, allocations: 4 kB / 1.237 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4322, allocations: 0 / 1.237 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004792/0.4327, allocations: 404.5 kB / 1.238 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.4345, allocations: 1.254 MB / 1.239 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4345, allocations: 0 / 1.239 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.4348, allocations: 75.91 kB / 1.239 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.4348, allocations: 4 kB / 1.239 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.4349, allocations: 12 kB / 1.239 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.4349, allocations: 11.92 kB / 1.239 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4349, allocations: 4 kB / 1.239 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.4357, allocations: 0.7076 MB / 1.24 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.4359, allocations: 168.5 kB / 1.24 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.329e-05/0.436, allocations: 20.05 kB / 1.24 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.4365, allocations: 27.89 kB / 1.24 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.4365, allocations: 31.84 kB / 1.24 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.4366, allocations: 24 kB / 1.24 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003474/0.4369, allocations: 335 kB / 1.24 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.437, allocations: 0 / 1.24 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005443/0.4375, allocations: 140 kB / 1.24 GB, free: 6.32 MB / 0.9981 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.001413/0.4389, allocations: 1.307 MB / 1.242 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000543/0.4395, allocations: 319.9 kB / 1.242 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4395, allocations: 4 kB / 1.242 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.4397, allocations: 155.7 kB / 1.242 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.4414, allocations: 362.2 kB / 1.242 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4011/0.8425, allocations: 4.619 MB / 1.247 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.8428, allocations: 0.8852 MB / 1.248 GB, free: 193 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006114/0.8435, allocations: 134.7 kB / 1.248 GB, free: 193 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.8437, allocations: 168.4 kB / 1.248 GB, free: 193 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.8437, allocations: 0.5469 kB / 1.248 GB, free: 193 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.874, allocations: 14.79 MB / 1.262 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/0.8742, allocations: 258.9 kB / 1.263 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.943, allocations: 7.25 kB / 1.263 GB, free: 191.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches