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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001294/0.001294, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 195.4 kB / 16.53 MB, free: 6.664 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.591/2.591, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 70.47 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2425, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.158/0.4005, allocations: 170.8 MB / 1.22 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00581/0.4064, allocations: 3.378 MB / 1.223 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004937/0.4069, allocations: 23.88 kB / 1.223 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007764/0.4077, allocations: 318.1 kB / 1.223 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.4097, allocations: 1.015 MB / 1.224 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.411, allocations: 0.66 MB / 1.225 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.4124, allocations: 1.523 MB / 1.226 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005365/0.4129, allocations: 477.5 kB / 1.227 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006593/0.4136, allocations: 0.5642 MB / 1.227 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008603/0.4145, allocations: 464.3 kB / 1.228 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.251e-05/0.4146, allocations: 52 kB / 1.228 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.4158, allocations: 0.834 MB / 1.229 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.416, allocations: 239.4 kB / 1.229 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.4163, allocations: 342.5 kB / 1.229 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.4175, allocations: 1.122 MB / 1.23 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4175, allocations: 0 / 1.23 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4175, allocations: 0 / 1.23 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.4175, allocations: 0 / 1.23 GB, free: 1.812 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.001216/0.4188, allocations: 0.9232 MB / 1.231 GB, free: 0.8359 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4188, allocations: 8.625 kB / 1.231 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.665e-05/0.4189, allocations: 86.53 kB / 1.231 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.42, allocations: 171.1 kB / 1.232 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006418/0.4207, allocations: 0.5052 MB / 1.232 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.4207, allocations: 37.08 kB / 1.232 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.4208, allocations: 40 kB / 1.232 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.4215, allocations: 478.3 kB / 1.233 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.4215, allocations: 0 / 1.233 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.4216, allocations: 16 kB / 1.233 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.4216, allocations: 20.98 kB / 1.233 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005908/0.4222, allocations: 415.8 kB / 1.233 GB, free: 15.03 MB / 0.9981 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.002201/0.4244, allocations: 1.738 MB / 1.235 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.4249, allocations: 294.6 kB / 1.235 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.4251, allocations: 180.7 kB / 1.235 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.4253, allocations: 101 kB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.4253, allocations: 38.56 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.4253, allocations: 4 kB / 1.235 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.00173/0.4271, allocations: 1.064 MB / 1.236 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.4271, allocations: 55.41 kB / 1.236 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.4276, allocations: 453.9 kB / 1.237 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.4276, allocations: 33.7 kB / 1.237 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.4278, allocations: 256.1 kB / 1.237 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.337e-05/0.4279, allocations: 122.3 kB / 1.237 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.428, allocations: 73.59 kB / 1.237 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4281, allocations: 346.8 kB / 1.238 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.4283, allocations: 131.9 kB / 1.238 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.4285, allocations: 189.9 kB / 1.238 GB, free: 9.703 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.001793/0.4303, allocations: 0.859 MB / 1.239 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.4304, allocations: 4 kB / 1.239 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005513/0.4309, allocations: 412.5 kB / 1.239 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.4309, allocations: 8 kB / 1.239 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.4309, allocations: 0 / 1.239 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.431, allocations: 4 kB / 1.239 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002876/0.4313, allocations: 75.84 kB / 1.239 GB, free: 8.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4313, allocations: 7.938 kB / 1.239 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003617/0.4316, allocations: 16.17 kB / 1.239 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.4317, allocations: 16 kB / 1.239 GB, free: 8.266 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.0002077/0.4319, allocations: 215.2 kB / 1.239 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.677e-05/0.432, allocations: 51.44 kB / 1.24 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.4321, allocations: 60.75 kB / 1.24 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4321, allocations: 4 kB / 1.24 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4321, allocations: 0 / 1.24 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004423/0.4326, allocations: 400.3 kB / 1.24 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.4341, allocations: 1.253 MB / 1.241 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4342, allocations: 7.938 kB / 1.241 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.4345, allocations: 67.91 kB / 1.241 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.4345, allocations: 4 kB / 1.241 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.4345, allocations: 16.5 kB / 1.241 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.4346, allocations: 15.94 kB / 1.241 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.4346, allocations: 7.984 kB / 1.241 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.4353, allocations: 0.7031 MB / 1.242 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.4355, allocations: 164.5 kB / 1.242 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.4356, allocations: 12 kB / 1.242 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003908/0.436, allocations: 23.92 kB / 1.242 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.436, allocations: 35.91 kB / 1.242 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.4361, allocations: 23.98 kB / 1.242 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003045/0.4364, allocations: 327.1 kB / 1.243 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4364, allocations: 0 / 1.243 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004871/0.4369, allocations: 140 kB / 1.243 GB, free: 4.535 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.001201/0.4381, allocations: 1.313 MB / 1.244 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005316/0.4386, allocations: 341.8 kB / 1.244 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4386, allocations: 0 / 1.244 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.4389, allocations: 167.6 kB / 1.244 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.4405, allocations: 370.1 kB / 1.245 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.394/0.8345, allocations: 4.466 MB / 1.249 GB, free: 193.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.8349, allocations: 0.8829 MB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005451/0.8354, allocations: 133.7 kB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.8356, allocations: 171.2 kB / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.8356, allocations: 0 / 1.25 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.719/3.555, allocations: 15.37 MB / 1.265 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/14.03, allocations: 13.95 kB / 1.265 GB, free: 191.1 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