Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="Buildings_10_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.001445/0.001445, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001726/0.001726, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 0.8688 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.5241, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1623/0.6865, allocations: 168.5 MB / 1.181 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004888/0.6914, allocations: 3.363 MB / 1.185 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004181/0.6919, allocations: 19.88 kB / 1.185 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007734/0.6927, allocations: 282.6 kB / 1.185 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.6946, allocations: 0.9532 MB / 1.186 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.6959, allocations: 0.6157 MB / 1.187 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001486/0.6974, allocations: 1.533 MB / 1.188 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000541/0.698, allocations: 469.4 kB / 1.189 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007052/0.6987, allocations: 0.5603 MB / 1.189 GB, free: 1.742 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008933/0.6996, allocations: 499.4 kB / 1.19 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.552e-05/0.6997, allocations: 56 kB / 1.19 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.7009, allocations: 0.865 MB / 1.19 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.7011, allocations: 239.4 kB / 1.191 GB, free: 100 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.7015, allocations: 334.7 kB / 1.191 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.7027, allocations: 1.184 MB / 1.192 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7027, allocations: 4 kB / 1.192 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7027, allocations: 0 / 1.192 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.7028, allocations: 0 / 1.192 GB, free: 14.58 MB / 0.9512 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.001283/0.704, allocations: 0.9116 MB / 1.193 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.7041, allocations: 12.03 kB / 1.193 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.402e-05/0.7042, allocations: 78.53 kB / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.7053, allocations: 183.1 kB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006604/0.706, allocations: 0.4974 MB / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/0.7061, allocations: 33 kB / 1.194 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.105e-05/0.7061, allocations: 47.91 kB / 1.194 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.7069, allocations: 470.4 kB / 1.194 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.7069, allocations: 4 kB / 1.194 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.707, allocations: 20 kB / 1.194 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.707, allocations: 20.98 kB / 1.194 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000599/0.7076, allocations: 411.7 kB / 1.195 GB, free: 11.8 MB / 0.9512 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.002304/0.7099, allocations: 1.734 MB / 1.196 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/0.7104, allocations: 298.6 kB / 1.197 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.7106, allocations: 178.7 kB / 1.197 GB, free: 9.465 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/0.7108, allocations: 105 kB / 1.197 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.7108, allocations: 38.56 kB / 1.197 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.704e-06/0.7108, allocations: 4 kB / 1.197 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.001839/0.7127, allocations: 1.054 MB / 1.198 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.7127, allocations: 59.39 kB / 1.198 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004644/0.7132, allocations: 449.9 kB / 1.199 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.7132, allocations: 37.64 kB / 1.199 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.7134, allocations: 256.1 kB / 1.199 GB, free: 7.371 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.214e-05/0.7135, allocations: 114.3 kB / 1.199 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.7136, allocations: 69.61 kB / 1.199 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7138, allocations: 358.8 kB / 1.199 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.714, allocations: 135.8 kB / 1.199 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.7142, allocations: 201.6 kB / 1.2 GB, free: 6.473 MB / 0.9512 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.001856/0.7161, allocations: 0.8635 MB / 1.201 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.7161, allocations: 4 kB / 1.201 GB, free: 5.566 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005666/0.7167, allocations: 416.6 kB / 1.201 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.7167, allocations: 8 kB / 1.201 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.7167, allocations: 0 / 1.201 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.7167, allocations: 4 kB / 1.201 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.717, allocations: 67.91 kB / 1.201 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.717, allocations: 4 kB / 1.201 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.7175, allocations: 32.11 kB / 1.201 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/0.7175, allocations: 16 kB / 1.201 GB, free: 5.023 MB / 0.9512 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.0002218/0.7177, allocations: 213.6 kB / 1.201 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.7178, allocations: 51.44 kB / 1.201 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001177/0.7179, allocations: 60.77 kB / 1.201 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.718, allocations: 4 kB / 1.201 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.718, allocations: 0 / 1.201 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004613/0.7184, allocations: 408.3 kB / 1.202 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.7201, allocations: 1.245 MB / 1.203 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.7201, allocations: 8.031 kB / 1.203 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.7204, allocations: 71.91 kB / 1.203 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.7204, allocations: 8 kB / 1.203 GB, free: 2.824 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.7205, allocations: 11.98 kB / 1.203 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.7205, allocations: 8 kB / 1.203 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7205, allocations: 7.938 kB / 1.203 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008042/0.7213, allocations: 0.7042 MB / 1.204 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.7215, allocations: 164.5 kB / 1.204 GB, free: 1.848 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.107e-05/0.7216, allocations: 11.98 kB / 1.204 GB, free: 1.836 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.722, allocations: 40.95 kB / 1.204 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.7221, allocations: 31.84 kB / 1.204 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/0.7222, allocations: 31.97 kB / 1.204 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003279/0.7225, allocations: 335.1 kB / 1.204 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7225, allocations: 0 / 1.204 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000507/0.723, allocations: 144 kB / 1.204 GB, free: 1.27 MB / 0.9512 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.001271/0.7243, allocations: 1.3 MB / 1.206 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.7248, allocations: 347.4 kB / 1.206 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.7248, allocations: 12.31 kB / 1.206 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.7251, allocations: 159.7 kB / 1.206 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/0.7267, allocations: 368 kB / 1.207 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005475/0.7321, allocations: 4.625 MB / 1.211 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.7326, allocations: 0.89 MB / 1.212 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004833/0.7331, allocations: 132.6 kB / 1.212 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.7333, allocations: 171.4 kB / 1.212 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.7333, allocations: 0 / 1.212 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.7633, allocations: 15.23 MB / 1.227 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.7635, allocations: 254.9 kB / 1.227 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/2.904, allocations: 2.531 kB / 1.227 GB, free: 9.832 MB / 0.9825 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches