Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.007686/0.007686, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001642/0.001642, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.391/2.391, allocations: 437.1 MB / 0.7105 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.84 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8489/0.8502, allocations: 151.6 MB / 1.166 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2277/1.078, allocations: 209.9 MB / 1.371 GB, free: 1.094 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01572/1.094, allocations: 9.868 MB / 1.381 GB, free: 7.211 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00253/1.096, allocations: 55.69 kB / 1.381 GB, free: 7.156 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002555/1.099, allocations: 0.7922 MB / 1.382 GB, free: 6.359 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007973/1.107, allocations: 2.922 MB / 1.384 GB, free: 3.426 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005386/1.112, allocations: 1.381 MB / 1.386 GB, free: 2.051 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.006031/1.118, allocations: 4.074 MB / 1.39 GB, free: 13.96 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002302/1.121, allocations: 1.317 MB / 1.391 GB, free: 12.61 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/1.124, allocations: 1.428 MB / 1.392 GB, free: 11.18 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/1.127, allocations: 1.232 MB / 1.394 GB, free: 9.953 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0006324/1.128, allocations: 144 kB / 1.394 GB, free: 9.812 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/1.133, allocations: 2.397 MB / 1.396 GB, free: 7.41 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/1.134, allocations: 0.6116 MB / 1.397 GB, free: 6.797 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001843/1.136, allocations: 0.8556 MB / 1.398 GB, free: 5.938 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006414/1.142, allocations: 2.996 MB / 1.401 GB, free: 2.934 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.143, allocations: 4 kB / 1.401 GB, free: 2.93 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.783e-06/1.143, allocations: 0 / 1.401 GB, free: 2.93 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.823e-05/1.143, allocations: 0 / 1.401 GB, free: 2.93 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004589/1.147, allocations: 1.896 MB / 1.402 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/1.147, allocations: 12.62 kB / 1.402 GB, free: 0.9648 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003743/1.148, allocations: 168.7 kB / 1.403 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/1.151, allocations: 493.6 kB / 1.403 GB, free: 312 kB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/1.154, allocations: 1.128 MB / 1.404 GB, free: 15.13 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.834e-05/1.154, allocations: 82.14 kB / 1.404 GB, free: 15.05 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/1.154, allocations: 116 kB / 1.404 GB, free: 14.94 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/1.157, allocations: 1.153 MB / 1.405 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/1.157, allocations: 11.89 kB / 1.405 GB, free: 13.74 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/1.157, allocations: 48 kB / 1.405 GB, free: 13.7 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/1.157, allocations: 38.14 kB / 1.406 GB, free: 13.66 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/1.159, allocations: 1.074 MB / 1.407 GB, free: 12.57 MB / 1.139 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.007288/1.166, allocations: 4.186 MB / 1.411 GB, free: 8.105 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/1.168, allocations: 0.7933 MB / 1.411 GB, free: 7.305 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007711/1.169, allocations: 486.2 kB / 1.412 GB, free: 6.832 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004473/1.169, allocations: 288.3 kB / 1.412 GB, free: 6.496 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/1.169, allocations: 47.56 kB / 1.412 GB, free: 6.438 MB / 1.139 GB Notification: Performance of pre-optimization done (n=83): time 4.879e-06/1.169, allocations: 0 / 1.412 GB, free: 6.438 MB / 1.139 GB Notification: Performance of matching and sorting (n=89): time 0.006299/1.176, allocations: 2.844 MB / 1.415 GB, free: 3.504 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/1.176, allocations: 60.41 kB / 1.415 GB, free: 3.434 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/1.177, allocations: 0.9793 MB / 1.416 GB, free: 2.438 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.177, allocations: 45.7 kB / 1.416 GB, free: 2.387 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/1.178, allocations: 0.5396 MB / 1.417 GB, free: 1.84 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/1.178, allocations: 323.4 kB / 1.417 GB, free: 1.52 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/1.178, allocations: 154.6 kB / 1.417 GB, free: 1.359 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.179, allocations: 337.9 kB / 1.417 GB, free: 1.023 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005484/1.179, allocations: 341.8 kB / 1.418 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006616/1.18, allocations: 485.9 kB / 1.418 GB, free: 184 kB / 1.139 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) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006093/1.186, allocations: 3.036 MB / 1.421 GB, free: 13.05 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.186, allocations: 0 / 1.421 GB, free: 13.05 MB / 1.154 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001699/1.188, allocations: 1.015 MB / 1.422 GB, free: 12.03 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.188, allocations: 4 kB / 1.422 GB, free: 12.03 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.188, allocations: 4 kB / 1.422 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/1.188, allocations: 12 kB / 1.422 GB, free: 12.01 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007674/1.188, allocations: 179.7 kB / 1.422 GB, free: 11.84 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.927e-05/1.188, allocations: 8 kB / 1.422 GB, free: 11.83 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/1.19, allocations: 31.94 kB / 1.422 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.452e-05/1.19, allocations: 35.98 kB / 1.422 GB, free: 11.76 MB / 1.154 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0006393/1.19, allocations: 389.6 kB / 1.423 GB, free: 11.37 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/1.191, allocations: 126.5 kB / 1.423 GB, free: 11.25 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/1.191, allocations: 148.3 kB / 1.423 GB, free: 11.1 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/1.191, allocations: 11.94 kB / 1.423 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.191, allocations: 0 / 1.423 GB, free: 11.09 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001549/1.193, allocations: 1.09 MB / 1.424 GB, free: 9.918 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/1.198, allocations: 3.055 MB / 1.427 GB, free: 6.688 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/1.198, allocations: 8 kB / 1.427 GB, free: 6.68 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007504/1.198, allocations: 167.7 kB / 1.427 GB, free: 6.516 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003639/1.199, allocations: 93.66 kB / 1.427 GB, free: 6.418 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.907e-05/1.199, allocations: 28 kB / 1.427 GB, free: 6.391 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/1.201, allocations: 3.098 MB / 1.43 GB, free: 3.016 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/1.201, allocations: 11.94 kB / 1.43 GB, free: 3.004 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/1.204, allocations: 1.733 MB / 1.432 GB, free: 1.133 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/1.205, allocations: 311.5 kB / 1.432 GB, free: 0.8086 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002698/1.205, allocations: 31.94 kB / 1.432 GB, free: 0.7773 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/1.206, allocations: 45.09 kB / 1.432 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/1.206, allocations: 84.11 kB / 1.433 GB, free: 0.6523 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001179/1.206, allocations: 47.98 kB / 1.433 GB, free: 0.6055 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001094/1.208, allocations: 0.6956 MB / 1.433 GB, free: 15.9 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.61e-07/1.208, allocations: 0 / 1.433 GB, free: 15.9 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001353/1.209, allocations: 372 kB / 1.434 GB, free: 15.54 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003218/1.212, allocations: 2.409 MB / 1.436 GB, free: 12.99 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001482/1.214, allocations: 0.8437 MB / 1.437 GB, free: 12.14 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.792e-05/1.214, allocations: 4 kB / 1.437 GB, free: 12.14 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.215, allocations: 0.674 MB / 1.437 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004266/1.219, allocations: 0.9241 MB / 1.438 GB, free: 10.54 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/1.234, allocations: 9.681 MB / 1.448 GB, free: 428 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00109/1.235, allocations: 1.253 MB / 1.449 GB, free: 15.14 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001402/1.237, allocations: 343 kB / 1.449 GB, free: 14.8 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008138/1.237, allocations: 471.3 kB / 1.45 GB, free: 14.33 MB / 1.186 GB Notification: Performance of SimCode: time 6.62e-07/1.237, allocations: 0 / 1.45 GB, free: 14.33 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.337, allocations: 38.42 MB / 1.487 GB, free: 8.363 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/13.22, allocations: 10.33 kB / 1.487 GB, free: 8.355 MB / 1.217 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches