Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_9_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.007382/0.007382, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.001735/0.001735, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 64.16 kB / 0.9504 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2235, allocations: 140.4 MB / 1.087 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.7218/0.9453, allocations: 209.9 MB / 1.292 GB, free: 3.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0135/0.9588, allocations: 9.859 MB / 1.302 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.9611, allocations: 60.16 kB / 1.302 GB, free: 2.887 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.9629, allocations: 0.767 MB / 1.303 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007098/0.97, allocations: 2.813 MB / 1.306 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.9734, allocations: 1.38 MB / 1.307 GB, free: 2.723 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00486/0.9783, allocations: 4.067 MB / 1.311 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.9799, allocations: 1.332 MB / 1.312 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.982, allocations: 1.366 MB / 1.314 GB, free: 2.547 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001974/0.984, allocations: 1.225 MB / 1.315 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002204/0.9842, allocations: 144.2 kB / 1.315 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004424/0.9886, allocations: 2.386 MB / 1.317 GB, free: 2.484 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005639/0.9892, allocations: 0.6018 MB / 1.318 GB, free: 2.422 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.9902, allocations: 0.8594 MB / 1.319 GB, free: 2.203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004322/0.9946, allocations: 3 MB / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.9946, allocations: 0 / 1.322 GB, free: 1.867 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9946, allocations: 5.906 kB / 1.322 GB, free: 1.863 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.9946, allocations: 0 / 1.322 GB, free: 1.863 MB / 1.014 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.003007/0.9976, allocations: 1.893 MB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.9977, allocations: 10.47 kB / 1.323 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002134/0.9979, allocations: 176 kB / 1.324 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/1.001, allocations: 482 kB / 1.324 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/1.003, allocations: 1.135 MB / 1.325 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/1.003, allocations: 81.27 kB / 1.325 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/1.003, allocations: 111.7 kB / 1.325 GB, free: 440 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/1.005, allocations: 1.154 MB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/1.005, allocations: 1.781 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/1.005, allocations: 48.75 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-05/1.005, allocations: 46.25 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/1.007, allocations: 1.073 MB / 1.328 GB, free: 332 kB / 1.014 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.005666/1.013, allocations: 4.204 MB / 1.332 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/1.014, allocations: 0.7875 MB / 1.333 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005755/1.014, allocations: 483.3 kB / 1.333 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/1.015, allocations: 297.2 kB / 1.333 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.015, allocations: 45.69 kB / 1.333 GB, free: 14.32 MB / 1.029 GB Notification: Performance of pre-optimization done (n=83): time 3.436e-06/1.015, allocations: 0.7812 kB / 1.333 GB, free: 14.32 MB / 1.029 GB Notification: Performance of matching and sorting (n=89): time 0.005388/1.02, allocations: 2.839 MB / 1.336 GB, free: 13.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/1.02, allocations: 67.34 kB / 1.336 GB, free: 13.33 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.021, allocations: 0.9772 MB / 1.337 GB, free: 12.94 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-05/1.022, allocations: 42.05 kB / 1.337 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003817/1.022, allocations: 0.5401 MB / 1.338 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002602/1.022, allocations: 312.9 kB / 1.338 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/1.022, allocations: 156.9 kB / 1.338 GB, free: 12.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.023, allocations: 341.7 kB / 1.338 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/1.023, allocations: 341.8 kB / 1.339 GB, free: 11.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005893/1.024, allocations: 484 kB / 1.339 GB, free: 11.46 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) 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.005657/1.029, allocations: 3.046 MB / 1.342 GB, free: 10.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.029, allocations: 0.5 kB / 1.342 GB, free: 10.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00149/1.031, allocations: 1.008 MB / 1.343 GB, free: 9.773 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/1.031, allocations: 9.438 kB / 1.343 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/1.031, allocations: 2.688 kB / 1.343 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.031, allocations: 8.094 kB / 1.343 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/1.032, allocations: 184.6 kB / 1.343 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.032, allocations: 9.75 kB / 1.343 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.033, allocations: 28.98 kB / 1.343 GB, free: 9.742 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/1.033, allocations: 27.62 kB / 1.343 GB, free: 9.738 MB / 1.029 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.0005563/1.033, allocations: 397.1 kB / 1.344 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/1.034, allocations: 127.1 kB / 1.344 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/1.034, allocations: 144.2 kB / 1.344 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.034, allocations: 8.438 kB / 1.344 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-05/1.034, allocations: 6.031 kB / 1.344 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001395/1.035, allocations: 1.09 MB / 1.345 GB, free: 8.684 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/1.04, allocations: 3.049 MB / 1.348 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/1.04, allocations: 7.344 kB / 1.348 GB, free: 7.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006749/1.04, allocations: 162 kB / 1.348 GB, free: 7.188 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003315/1.041, allocations: 101.8 kB / 1.348 GB, free: 7.148 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/1.041, allocations: 31.72 kB / 1.348 GB, free: 7.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/1.043, allocations: 3.092 MB / 1.351 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.043, allocations: 11.53 kB / 1.351 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/1.045, allocations: 1.743 MB / 1.353 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000666/1.046, allocations: 305.6 kB / 1.353 GB, free: 2.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/1.046, allocations: 32.44 kB / 1.354 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009637/1.047, allocations: 44.73 kB / 1.354 GB, free: 2.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/1.047, allocations: 88.77 kB / 1.354 GB, free: 2.871 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-05/1.047, allocations: 42.95 kB / 1.354 GB, free: 2.863 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000817/1.048, allocations: 0.6983 MB / 1.354 GB, free: 2.578 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.048, allocations: 0 / 1.354 GB, free: 2.578 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001072/1.049, allocations: 377.5 kB / 1.355 GB, free: 2.543 MB / 1.029 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.002707/1.052, allocations: 2.417 MB / 1.357 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001225/1.053, allocations: 0.8433 MB / 1.358 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.053, allocations: 2 kB / 1.358 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008325/1.054, allocations: 0.6716 MB / 1.359 GB, free: 328 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003919/1.058, allocations: 0.9222 MB / 1.359 GB, free: 52 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/1.07, allocations: 9.677 MB / 1.369 GB, free: 10.99 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007679/1.07, allocations: 1.257 MB / 1.37 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001223/1.072, allocations: 333.8 kB / 1.37 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006215/1.072, allocations: 473.9 kB / 1.371 GB, free: 9.797 MB / 1.045 GB Notification: Performance of SimCode: time 9.42e-07/1.072, allocations: 3.938 kB / 1.371 GB, free: 9.793 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06599/1.138, allocations: 38.43 MB / 1.408 GB, free: 10.84 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.35, allocations: 14.41 kB / 1.408 GB, free: 10.82 MB / 1.076 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches