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.001608/0.001608, 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.001805/0.001805, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 66.52 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.251, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1616/0.4126, allocations: 170.8 MB / 1.23 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005033/0.4177, allocations: 3.383 MB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000587/0.4183, allocations: 19.88 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008753/0.4192, allocations: 314.1 kB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.4215, allocations: 1.015 MB / 1.235 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001527/0.423, allocations: 0.6555 MB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.4247, allocations: 1.527 MB / 1.237 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006599/0.4253, allocations: 477.5 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009018/0.4262, allocations: 0.5642 MB / 1.238 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.4273, allocations: 460 kB / 1.239 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.4274, allocations: 56 kB / 1.239 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.4288, allocations: 0.8379 MB / 1.24 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.4291, allocations: 235.4 kB / 1.24 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003931/0.4295, allocations: 338.5 kB / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.4309, allocations: 1.126 MB / 1.241 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.4309, allocations: 0 / 1.241 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4309, allocations: 0 / 1.241 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.4309, allocations: 0 / 1.241 GB, free: 8.066 MB / 0.9981 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.001409/0.4323, allocations: 0.9254 MB / 1.242 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.4324, allocations: 8.031 kB / 1.242 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.4325, allocations: 82.53 kB / 1.242 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.4337, allocations: 175.1 kB / 1.242 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007064/0.4344, allocations: 0.5013 MB / 1.243 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.4345, allocations: 29 kB / 1.243 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.4345, allocations: 44 kB / 1.243 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000745/0.4353, allocations: 478.4 kB / 1.243 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.4353, allocations: 0 / 1.243 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.984e-05/0.4354, allocations: 20 kB / 1.243 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.4354, allocations: 13 kB / 1.243 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000634/0.436, allocations: 423.7 kB / 1.244 GB, free: 5.293 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.002427/0.4385, allocations: 1.724 MB / 1.245 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004717/0.439, allocations: 307.1 kB / 1.246 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.4392, allocations: 184.7 kB / 1.246 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/0.4394, allocations: 101 kB / 1.246 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.4394, allocations: 38.56 kB / 1.246 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.956e-06/0.4394, allocations: 11.98 kB / 1.246 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001867/0.4413, allocations: 1.059 MB / 1.247 GB, free: 1.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.4414, allocations: 55.41 kB / 1.247 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/0.4418, allocations: 453.8 kB / 1.248 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.4419, allocations: 37.7 kB / 1.248 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.442, allocations: 252.2 kB / 1.248 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/0.4421, allocations: 114.3 kB / 1.248 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.4422, allocations: 73.59 kB / 1.248 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4424, allocations: 354.8 kB / 1.248 GB, free: 296 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.4426, allocations: 131.9 kB / 1.249 GB, free: 164 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4494/0.892, allocations: 188.4 kB / 1.249 GB, free: 188.9 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.002125/0.8941, allocations: 0.8636 MB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.8942, allocations: 1.281 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006996/0.8949, allocations: 415.7 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.8949, allocations: 7.094 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.8949, allocations: 5.781 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.8949, allocations: 3.094 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.8953, allocations: 69 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.8953, allocations: 3.766 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.8958, allocations: 14.81 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.8958, allocations: 11.17 kB / 1.25 GB, free: 188.7 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.0002606/0.8961, allocations: 217.6 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.8962, allocations: 49.19 kB / 1.25 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.8963, allocations: 59.75 kB / 1.25 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.8963, allocations: 3.688 kB / 1.25 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8964, allocations: 0.5625 kB / 1.25 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005217/0.8969, allocations: 406 kB / 1.251 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.8987, allocations: 1.246 MB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.8987, allocations: 3.656 kB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.8991, allocations: 78.08 kB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.8991, allocations: 5.906 kB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.8991, allocations: 11 kB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.8992, allocations: 10.81 kB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.8992, allocations: 3.969 kB / 1.252 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008163/0.9, allocations: 0.7079 MB / 1.253 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/0.9002, allocations: 167.7 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.9003, allocations: 13.31 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.9008, allocations: 26.84 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.525e-05/0.9008, allocations: 32.17 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.9009, allocations: 21.14 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000365/0.9013, allocations: 334 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9013, allocations: 0 / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005823/0.9018, allocations: 141.7 kB / 1.253 GB, free: 187.5 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.001179/0.903, allocations: 1.297 MB / 1.255 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005639/0.9036, allocations: 360 kB / 1.255 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9036, allocations: 1.219 kB / 1.255 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.9038, allocations: 161.8 kB / 1.255 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.9055, allocations: 373.2 kB / 1.256 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/0.9099, allocations: 4.479 MB / 1.26 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.9102, allocations: 0.8882 MB / 1.261 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004977/0.9107, allocations: 129.2 kB / 1.261 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.9109, allocations: 174 kB / 1.261 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.9109, allocations: 0 / 1.261 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.9472, allocations: 15.38 MB / 1.276 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/8.615, allocations: 12.14 kB / 1.276 GB, free: 180.6 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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