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.001086/0.001086, 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.001088/0.001088, allocations: 196.2 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.242/1.242, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.406/2.406, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.509, allocations: 151.6 MB / 1.017 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1617/0.6708, allocations: 170.8 MB / 1.184 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004822/0.6756, allocations: 3.377 MB / 1.187 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005373/0.6762, allocations: 23.88 kB / 1.188 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007678/0.677, allocations: 310.1 kB / 1.188 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.6789, allocations: 1.015 MB / 1.189 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.6806, allocations: 0.6596 MB / 1.189 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001638/0.6822, allocations: 1.523 MB / 1.191 GB, free: 292 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.6828, allocations: 481.4 kB / 1.191 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006851/0.6835, allocations: 0.5603 MB / 1.192 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008587/0.6844, allocations: 473.1 kB / 1.192 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.782e-05/0.6845, allocations: 52 kB / 1.192 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.6858, allocations: 0.8301 MB / 1.193 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.686, allocations: 239.4 kB / 1.193 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.6863, allocations: 338.5 kB / 1.194 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.6875, allocations: 1.122 MB / 1.195 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6875, allocations: 3.938 kB / 1.195 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.534e-06/0.6875, allocations: 4 kB / 1.195 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.745e-06/0.6875, allocations: 0 / 1.195 GB, free: 12.21 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.001229/0.6888, allocations: 0.9077 MB / 1.196 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.6888, allocations: 8.031 kB / 1.196 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.512e-05/0.6889, allocations: 90.52 kB / 1.196 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.69, allocations: 175.1 kB / 1.196 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.6907, allocations: 0.4974 MB / 1.197 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.6908, allocations: 37 kB / 1.197 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.6908, allocations: 40 kB / 1.197 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.6915, allocations: 478.4 kB / 1.197 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.6916, allocations: 7.844 kB / 1.197 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.6916, allocations: 20 kB / 1.197 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.6916, allocations: 17 kB / 1.197 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.6923, allocations: 415.7 kB / 1.198 GB, free: 9.434 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.00227/0.6945, allocations: 1.743 MB / 1.199 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.695, allocations: 290.6 kB / 1.199 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.6953, allocations: 178.5 kB / 1.2 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.6954, allocations: 97.03 kB / 1.2 GB, free: 6.977 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.6955, allocations: 42.56 kB / 1.2 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=31): time 1.453e-06/0.6955, allocations: 0 / 1.2 GB, free: 6.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.001806/0.6973, allocations: 1.059 MB / 1.201 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.6973, allocations: 55.41 kB / 1.201 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004488/0.6978, allocations: 465.8 kB / 1.201 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.6978, allocations: 33.7 kB / 1.201 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.698, allocations: 248.1 kB / 1.202 GB, free: 5 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.61e-05/0.6981, allocations: 122.3 kB / 1.202 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.6982, allocations: 65.7 kB / 1.202 GB, free: 4.809 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6983, allocations: 354.8 kB / 1.202 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.6985, allocations: 127.9 kB / 1.202 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.6988, allocations: 209.4 kB / 1.202 GB, free: 4.102 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.00187/0.7006, allocations: 0.8643 MB / 1.203 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.7006, allocations: 0 / 1.203 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005751/0.7012, allocations: 408.7 kB / 1.204 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.7012, allocations: 8.938 kB / 1.204 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7013, allocations: 0 / 1.204 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.7013, allocations: 8 kB / 1.204 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.7016, allocations: 71.91 kB / 1.204 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.7016, allocations: 12.12 kB / 1.204 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00037/0.702, allocations: 15.89 kB / 1.204 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.702, allocations: 23.92 kB / 1.204 GB, free: 2.656 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.0002188/0.7022, allocations: 213.6 kB / 1.204 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.7023, allocations: 51.44 kB / 1.204 GB, free: 2.387 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.7025, allocations: 56.77 kB / 1.204 GB, free: 2.332 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.7025, allocations: 7.984 kB / 1.204 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7025, allocations: 0 / 1.204 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004624/0.7029, allocations: 408.3 kB / 1.205 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.7046, allocations: 1.243 MB / 1.206 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.7046, allocations: 4 kB / 1.206 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000335/0.705, allocations: 76.39 kB / 1.206 GB, free: 480 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.705, allocations: 12 kB / 1.206 GB, free: 468 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.705, allocations: 8 kB / 1.206 GB, free: 460 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.705, allocations: 11.94 kB / 1.206 GB, free: 448 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.705, allocations: 4 kB / 1.206 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.7059, allocations: 0.6926 MB / 1.207 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.7061, allocations: 176.4 kB / 1.207 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.7061, allocations: 11.94 kB / 1.207 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.7066, allocations: 20.55 kB / 1.207 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.7066, allocations: 39.89 kB / 1.207 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.7067, allocations: 20 kB / 1.207 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003329/0.707, allocations: 327.1 kB / 1.207 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.707, allocations: 0 / 1.207 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004891/0.7075, allocations: 140 kB / 1.207 GB, free: 14.94 MB / 0.9669 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.001267/0.7088, allocations: 1.319 MB / 1.208 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005394/0.7093, allocations: 355.3 kB / 1.209 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7093, allocations: 0 / 1.209 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002331/0.7096, allocations: 161.7 kB / 1.209 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.7113, allocations: 375.9 kB / 1.209 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.7167, allocations: 4.468 MB / 1.214 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.7172, allocations: 0.8861 MB / 1.215 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0004666/0.7177, allocations: 128.6 kB / 1.215 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.7179, allocations: 167.4 kB / 1.215 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.7179, allocations: 0 / 1.215 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.7541, allocations: 15.37 MB / 1.23 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/8.463, allocations: 14.48 kB / 1.23 GB, free: 7.707 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