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.008299/0.008299, allocations: 101.7 kB / 15.73 MB, free: 5.953 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.001769/0.001769, allocations: 189.5 kB / 16.67 MB, free: 5.883 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.47/2.47, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3013, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.8436/1.145, allocations: 170.8 MB / 1.333 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006962/1.152, allocations: 3.38 MB / 1.336 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001322/1.153, allocations: 22.78 kB / 1.336 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/1.155, allocations: 325.8 kB / 1.337 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.004234/1.159, allocations: 1.055 MB / 1.338 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002172/1.161, allocations: 0.6686 MB / 1.338 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002784/1.164, allocations: 1.534 MB / 1.34 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/1.165, allocations: 485.1 kB / 1.34 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/1.167, allocations: 0.5965 MB / 1.341 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/1.168, allocations: 467.7 kB / 1.341 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/1.168, allocations: 53.88 kB / 1.341 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002349/1.171, allocations: 0.8351 MB / 1.342 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004883/1.171, allocations: 239.1 kB / 1.342 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008637/1.172, allocations: 330.2 kB / 1.343 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/1.175, allocations: 1.138 MB / 1.344 GB, free: 11.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.175, allocations: 1.094 kB / 1.344 GB, free: 11.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.664e-06/1.175, allocations: 0 / 1.344 GB, free: 11.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 3.865e-05/1.175, allocations: 0 / 1.344 GB, free: 11.14 MB / 1.029 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.002197/1.177, allocations: 0.9141 MB / 1.345 GB, free: 10.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.177, allocations: 9.656 kB / 1.345 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/1.177, allocations: 83.94 kB / 1.345 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/1.179, allocations: 173.4 kB / 1.345 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/1.18, allocations: 0.5272 MB / 1.345 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/1.18, allocations: 34.72 kB / 1.345 GB, free: 9.984 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/1.18, allocations: 41.53 kB / 1.346 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008913/1.181, allocations: 477.3 kB / 1.346 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/1.181, allocations: 1.562 kB / 1.346 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/1.181, allocations: 20.31 kB / 1.346 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/1.181, allocations: 15.34 kB / 1.346 GB, free: 9.766 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007208/1.182, allocations: 412.2 kB / 1.346 GB, free: 9.637 MB / 1.029 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.003068/1.185, allocations: 1.725 MB / 1.348 GB, free: 8.488 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/1.186, allocations: 297.1 kB / 1.348 GB, free: 8.359 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/1.186, allocations: 181.1 kB / 1.349 GB, free: 8.293 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/1.186, allocations: 103.7 kB / 1.349 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.186, allocations: 41.56 kB / 1.349 GB, free: 8.145 MB / 1.029 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/1.186, allocations: 3.938 kB / 1.349 GB, free: 8.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.002503/1.189, allocations: 1.053 MB / 1.35 GB, free: 7.531 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/1.189, allocations: 59.53 kB / 1.35 GB, free: 7.465 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/1.189, allocations: 455.8 kB / 1.35 GB, free: 7.254 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/1.19, allocations: 32.23 kB / 1.35 GB, free: 7.219 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/1.19, allocations: 250.6 kB / 1.35 GB, free: 7.016 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.19, allocations: 114.3 kB / 1.351 GB, free: 6.926 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/1.19, allocations: 70.59 kB / 1.351 GB, free: 6.883 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.19, allocations: 359.1 kB / 1.351 GB, free: 6.551 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/1.19, allocations: 125.3 kB / 1.351 GB, free: 6.508 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/1.191, allocations: 199.3 kB / 1.351 GB, free: 6.391 MB / 1.029 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.002042/1.193, allocations: 0.8669 MB / 1.352 GB, free: 5.973 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.193, allocations: 4.969 kB / 1.352 GB, free: 5.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007878/1.194, allocations: 414.2 kB / 1.353 GB, free: 5.789 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.194, allocations: 5.125 kB / 1.353 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/1.194, allocations: 1.094 kB / 1.353 GB, free: 5.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.194, allocations: 11.98 kB / 1.353 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/1.194, allocations: 72.22 kB / 1.353 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.194, allocations: 9 kB / 1.353 GB, free: 5.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/1.195, allocations: 18.8 kB / 1.353 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/1.195, allocations: 14.16 kB / 1.353 GB, free: 5.754 MB / 1.029 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.0003207/1.195, allocations: 206.6 kB / 1.353 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/1.195, allocations: 53.16 kB / 1.353 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/1.195, allocations: 61.77 kB / 1.353 GB, free: 5.531 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.195, allocations: 7.062 kB / 1.353 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.195, allocations: 2.406 kB / 1.353 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005178/1.196, allocations: 402.5 kB / 1.353 GB, free: 5.277 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/1.198, allocations: 1.245 MB / 1.355 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/1.198, allocations: 8.688 kB / 1.355 GB, free: 4.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003608/1.198, allocations: 76.66 kB / 1.355 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.198, allocations: 5.344 kB / 1.355 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/1.198, allocations: 11.59 kB / 1.355 GB, free: 4.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/1.198, allocations: 9.438 kB / 1.355 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.198, allocations: 4.281 kB / 1.355 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/1.2, allocations: 0.7042 MB / 1.355 GB, free: 4.027 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/1.2, allocations: 166.5 kB / 1.356 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/1.2, allocations: 12.64 kB / 1.356 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005017/1.201, allocations: 23.5 kB / 1.356 GB, free: 3.879 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/1.201, allocations: 33.91 kB / 1.356 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/1.201, allocations: 20.72 kB / 1.356 GB, free: 3.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000459/1.201, allocations: 327.6 kB / 1.356 GB, free: 3.707 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.201, allocations: 1.094 kB / 1.356 GB, free: 3.707 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007479/1.202, allocations: 142.4 kB / 1.356 GB, free: 3.695 MB / 1.029 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.001551/1.203, allocations: 1.31 MB / 1.357 GB, free: 2.672 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006658/1.204, allocations: 329.8 kB / 1.358 GB, free: 2.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.204, allocations: 1.594 kB / 1.358 GB, free: 2.559 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/1.204, allocations: 162.2 kB / 1.358 GB, free: 2.504 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.206, allocations: 372.2 kB / 1.358 GB, free: 2.398 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/1.212, allocations: 4.401 MB / 1.362 GB, free: 15.7 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/1.213, allocations: 0.8853 MB / 1.363 GB, free: 14.97 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0005267/1.213, allocations: 133.9 kB / 1.363 GB, free: 14.94 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/1.213, allocations: 172.5 kB / 1.364 GB, free: 14.82 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/1.214, allocations: 0 / 1.364 GB, free: 14.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04429/1.258, allocations: 15.47 MB / 1.379 GB, free: 7.324 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/9.648, allocations: 8.594 kB / 1.379 GB, free: 7.32 MB / 1.045 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