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.008618/0.008618, allocations: 100.6 kB / 15.73 MB, free: 5.996 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.001874/0.001874, allocations: 201.1 kB / 16.68 MB, free: 5.918 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 60.12 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053/1.055, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.23/1.285, allocations: 170.8 MB / 1.374 GB, free: 2.066 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007354/1.292, allocations: 3.38 MB / 1.377 GB, free: 14.68 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/1.293, allocations: 19.88 kB / 1.377 GB, free: 14.66 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/1.294, allocations: 314.1 kB / 1.378 GB, free: 14.35 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003029/1.297, allocations: 1.019 MB / 1.379 GB, free: 13.33 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/1.3, allocations: 0.6615 MB / 1.379 GB, free: 12.67 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002385/1.302, allocations: 1.535 MB / 1.381 GB, free: 11.13 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000917/1.303, allocations: 465.5 kB / 1.381 GB, free: 10.68 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001399/1.304, allocations: 0.5837 MB / 1.382 GB, free: 10.09 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/1.306, allocations: 470.2 kB / 1.382 GB, free: 9.633 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/1.306, allocations: 52 kB / 1.382 GB, free: 9.582 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/1.308, allocations: 0.834 MB / 1.383 GB, free: 8.746 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0004356/1.309, allocations: 231.4 kB / 1.383 GB, free: 8.52 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007379/1.309, allocations: 334.5 kB / 1.384 GB, free: 8.191 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003391/1.313, allocations: 1.141 MB / 1.385 GB, free: 7.047 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.313, allocations: 0 / 1.385 GB, free: 7.047 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.695e-06/1.313, allocations: 4 kB / 1.385 GB, free: 7.043 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.889e-05/1.313, allocations: 0 / 1.385 GB, free: 7.043 MB / 1.107 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.002779/1.316, allocations: 0.9115 MB / 1.386 GB, free: 6.082 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 7.668e-05/1.316, allocations: 8.031 kB / 1.386 GB, free: 6.074 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/1.316, allocations: 86.52 kB / 1.386 GB, free: 5.98 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001636/1.318, allocations: 175.1 kB / 1.386 GB, free: 5.809 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/1.319, allocations: 0.5286 MB / 1.386 GB, free: 5.242 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/1.319, allocations: 29 kB / 1.386 GB, free: 5.215 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/1.319, allocations: 48 kB / 1.387 GB, free: 5.168 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/1.32, allocations: 470.4 kB / 1.387 GB, free: 4.699 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/1.32, allocations: 0 / 1.387 GB, free: 4.699 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/1.32, allocations: 16 kB / 1.387 GB, free: 4.684 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.562e-05/1.32, allocations: 20.94 kB / 1.387 GB, free: 4.66 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000746/1.321, allocations: 415.7 kB / 1.387 GB, free: 4.258 MB / 1.107 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.003252/1.324, allocations: 1.732 MB / 1.389 GB, free: 2.391 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/1.325, allocations: 290.5 kB / 1.389 GB, free: 2.098 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/1.325, allocations: 186.1 kB / 1.39 GB, free: 1.914 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002215/1.325, allocations: 97.03 kB / 1.39 GB, free: 1.801 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/1.325, allocations: 42.56 kB / 1.39 GB, free: 1.75 MB / 1.107 GB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/1.325, allocations: 0 / 1.39 GB, free: 1.75 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002653/1.328, allocations: 1.056 MB / 1.391 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/1.328, allocations: 55.41 kB / 1.391 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/1.329, allocations: 461.8 kB / 1.391 GB, free: 116 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/1.329, allocations: 33.7 kB / 1.391 GB, free: 76 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/1.329, allocations: 252.1 kB / 1.391 GB, free: 15.82 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/1.329, allocations: 118.4 kB / 1.392 GB, free: 15.71 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/1.329, allocations: 65.61 kB / 1.392 GB, free: 15.64 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002027/1.33, allocations: 358.8 kB / 1.392 GB, free: 15.28 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/1.33, allocations: 127.9 kB / 1.392 GB, free: 15.15 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/1.33, allocations: 205.4 kB / 1.392 GB, free: 14.93 MB / 1.123 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.002119/1.332, allocations: 0.8488 MB / 1.393 GB, free: 14.04 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.332, allocations: 3.984 kB / 1.393 GB, free: 14.04 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008496/1.333, allocations: 424.3 kB / 1.394 GB, free: 13.62 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.907e-05/1.333, allocations: 9.875 kB / 1.394 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.333, allocations: 0 / 1.394 GB, free: 13.61 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/1.333, allocations: 7.938 kB / 1.394 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00035/1.334, allocations: 72.09 kB / 1.394 GB, free: 13.53 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/1.334, allocations: 8 kB / 1.394 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/1.334, allocations: 11.94 kB / 1.394 GB, free: 13.51 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/1.334, allocations: 16 kB / 1.394 GB, free: 13.5 MB / 1.123 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.0003878/1.335, allocations: 221.5 kB / 1.394 GB, free: 13.27 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/1.335, allocations: 51.44 kB / 1.394 GB, free: 13.22 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000165/1.335, allocations: 52.77 kB / 1.394 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/1.335, allocations: 4 kB / 1.394 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/1.335, allocations: 0 / 1.394 GB, free: 13.16 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005763/1.336, allocations: 420.5 kB / 1.394 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/1.338, allocations: 1.241 MB / 1.396 GB, free: 11.37 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/1.338, allocations: 4 kB / 1.396 GB, free: 11.36 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/1.338, allocations: 68.41 kB / 1.396 GB, free: 11.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/1.338, allocations: 12 kB / 1.396 GB, free: 11.29 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/1.338, allocations: 12 kB / 1.396 GB, free: 11.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/1.338, allocations: 11.98 kB / 1.396 GB, free: 11.26 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.338, allocations: 7.938 kB / 1.396 GB, free: 11.25 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/1.339, allocations: 0.6994 MB / 1.396 GB, free: 10.49 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/1.34, allocations: 164.5 kB / 1.397 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.34, allocations: 15.98 kB / 1.397 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004932/1.34, allocations: 16 kB / 1.397 GB, free: 10.28 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/1.34, allocations: 35.91 kB / 1.397 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/1.34, allocations: 23.98 kB / 1.397 GB, free: 10.22 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004602/1.341, allocations: 327.1 kB / 1.397 GB, free: 9.902 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.1e-07/1.341, allocations: 0 / 1.397 GB, free: 9.902 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006692/1.342, allocations: 140 kB / 1.397 GB, free: 9.766 MB / 1.123 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.001645/1.343, allocations: 1.327 MB / 1.398 GB, free: 8.371 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006925/1.344, allocations: 315.7 kB / 1.399 GB, free: 8.062 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.344, allocations: 0 / 1.399 GB, free: 8.062 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/1.344, allocations: 166.7 kB / 1.399 GB, free: 7.902 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/1.346, allocations: 365.4 kB / 1.399 GB, free: 7.555 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006912/1.353, allocations: 4.403 MB / 1.404 GB, free: 2.938 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000603/1.354, allocations: 0.8901 MB / 1.404 GB, free: 2.02 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006202/1.354, allocations: 128.6 kB / 1.404 GB, free: 1.891 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/1.355, allocations: 163.4 kB / 1.405 GB, free: 1.73 MB / 1.123 GB Notification: Performance of SimCode: time 1.483e-06/1.355, allocations: 0 / 1.405 GB, free: 1.73 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04638/1.401, allocations: 15.71 MB / 1.42 GB, free: 2.309 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.975/10.38, allocations: 3.688 kB / 1.42 GB, free: 2.309 MB / 1.139 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