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.007759/0.007759, allocations: 100.8 kB / 15.73 MB, free: 5.562 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.001742/0.001742, allocations: 198.6 kB / 16.67 MB, free: 5.504 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.207/2.207, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 0.9504 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7872/0.7886, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2357/1.024, allocations: 209.9 MB / 1.292 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01456/1.039, allocations: 9.881 MB / 1.302 GB, free: 1.828 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/1.041, allocations: 59.69 kB / 1.302 GB, free: 1.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/1.044, allocations: 0.7726 MB / 1.303 GB, free: 0.9922 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00718/1.051, allocations: 2.804 MB / 1.306 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/1.054, allocations: 1.386 MB / 1.307 GB, free: 12.8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005193/1.059, allocations: 4.06 MB / 1.311 GB, free: 8.727 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00206/1.061, allocations: 1.34 MB / 1.312 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/1.064, allocations: 1.382 MB / 1.314 GB, free: 5.965 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002753/1.067, allocations: 1.232 MB / 1.315 GB, free: 4.738 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004268/1.067, allocations: 144 kB / 1.315 GB, free: 4.598 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004835/1.072, allocations: 2.385 MB / 1.317 GB, free: 2.207 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0009218/1.073, allocations: 0.6117 MB / 1.318 GB, free: 1.594 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001804/1.075, allocations: 0.8595 MB / 1.319 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005291/1.08, allocations: 2.996 MB / 1.322 GB, free: 13.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.08, allocations: 0 / 1.322 GB, free: 13.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.693e-06/1.08, allocations: 0 / 1.322 GB, free: 13.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.671e-05/1.08, allocations: 0 / 1.322 GB, free: 13.73 MB / 1.061 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.003987/1.084, allocations: 1.896 MB / 1.323 GB, free: 11.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/1.084, allocations: 15.97 kB / 1.324 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002976/1.085, allocations: 172.8 kB / 1.324 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/1.088, allocations: 485.7 kB / 1.324 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/1.09, allocations: 1.132 MB / 1.325 GB, free: 9.922 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/1.09, allocations: 82.12 kB / 1.325 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/1.09, allocations: 112 kB / 1.325 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/1.093, allocations: 1.149 MB / 1.327 GB, free: 8.551 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/1.093, allocations: 7.984 kB / 1.327 GB, free: 8.543 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.093, allocations: 48 kB / 1.327 GB, free: 8.496 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/1.093, allocations: 42.08 kB / 1.327 GB, free: 8.453 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/1.095, allocations: 1.074 MB / 1.328 GB, free: 7.371 MB / 1.061 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.006287/1.101, allocations: 4.198 MB / 1.332 GB, free: 2.895 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/1.102, allocations: 0.7901 MB / 1.333 GB, free: 2.086 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/1.103, allocations: 486.7 kB / 1.333 GB, free: 1.613 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004095/1.103, allocations: 288.3 kB / 1.333 GB, free: 1.277 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/1.103, allocations: 47.56 kB / 1.333 GB, free: 1.223 MB / 1.061 GB Notification: Performance of pre-optimization done (n=83): time 2.285e-06/1.103, allocations: 0 / 1.333 GB, free: 1.223 MB / 1.061 GB Notification: Performance of matching and sorting (n=89): time 0.005477/1.109, allocations: 2.844 MB / 1.336 GB, free: 14.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/1.109, allocations: 60.41 kB / 1.336 GB, free: 14.22 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/1.11, allocations: 0.9831 MB / 1.337 GB, free: 13.22 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.992e-05/1.11, allocations: 49.7 kB / 1.337 GB, free: 13.16 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/1.11, allocations: 0.5318 MB / 1.338 GB, free: 12.62 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/1.111, allocations: 315.4 kB / 1.338 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/1.111, allocations: 158.5 kB / 1.338 GB, free: 12.15 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.111, allocations: 345.9 kB / 1.338 GB, free: 11.81 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/1.112, allocations: 337.8 kB / 1.339 GB, free: 11.48 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000596/1.112, allocations: 481.9 kB / 1.339 GB, free: 10.96 MB / 1.076 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.005784/1.118, allocations: 3.042 MB / 1.342 GB, free: 7.844 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/1.118, allocations: 0 / 1.342 GB, free: 7.844 MB / 1.076 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001517/1.119, allocations: 1.015 MB / 1.343 GB, free: 6.816 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.12, allocations: 11.94 kB / 1.343 GB, free: 6.805 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.12, allocations: 0 / 1.343 GB, free: 6.805 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/1.12, allocations: 8 kB / 1.343 GB, free: 6.797 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/1.12, allocations: 179.8 kB / 1.343 GB, free: 6.621 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/1.12, allocations: 11.94 kB / 1.343 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009584/1.121, allocations: 28.36 kB / 1.343 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/1.121, allocations: 32 kB / 1.344 GB, free: 6.551 MB / 1.076 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.0005678/1.122, allocations: 385.5 kB / 1.344 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/1.122, allocations: 130.4 kB / 1.344 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/1.122, allocations: 152.2 kB / 1.344 GB, free: 5.879 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/1.122, allocations: 8 kB / 1.344 GB, free: 5.871 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/1.122, allocations: 4 kB / 1.344 GB, free: 5.867 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00148/1.124, allocations: 1.098 MB / 1.345 GB, free: 4.699 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/1.129, allocations: 3.051 MB / 1.348 GB, free: 1.465 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/1.129, allocations: 12 kB / 1.348 GB, free: 1.453 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006664/1.129, allocations: 159.7 kB / 1.348 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003321/1.13, allocations: 102.1 kB / 1.348 GB, free: 1.191 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/1.13, allocations: 32 kB / 1.348 GB, free: 1.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/1.132, allocations: 3.082 MB / 1.352 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/1.132, allocations: 11.94 kB / 1.352 GB, free: 13.79 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/1.135, allocations: 1.733 MB / 1.353 GB, free: 11.91 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006915/1.135, allocations: 303.5 kB / 1.353 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/1.136, allocations: 35.94 kB / 1.354 GB, free: 11.56 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009716/1.137, allocations: 49.59 kB / 1.354 GB, free: 11.52 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.137, allocations: 84.11 kB / 1.354 GB, free: 11.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.597e-05/1.137, allocations: 47.92 kB / 1.354 GB, free: 11.39 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0009217/1.138, allocations: 0.6956 MB / 1.354 GB, free: 10.68 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.138, allocations: 0 / 1.354 GB, free: 10.68 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001153/1.139, allocations: 372 kB / 1.355 GB, free: 10.32 MB / 1.092 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.002942/1.142, allocations: 2.413 MB / 1.357 GB, free: 7.777 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001313/1.143, allocations: 0.8512 MB / 1.358 GB, free: 6.922 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.143, allocations: 4 kB / 1.358 GB, free: 6.918 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009056/1.144, allocations: 0.6654 MB / 1.359 GB, free: 6.227 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/1.148, allocations: 0.9274 MB / 1.359 GB, free: 5.324 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.161, allocations: 9.67 MB / 1.369 GB, free: 11.21 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009324/1.162, allocations: 1.253 MB / 1.37 GB, free: 9.93 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001152/1.163, allocations: 339 kB / 1.37 GB, free: 9.594 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006404/1.164, allocations: 471.3 kB / 1.371 GB, free: 9.133 MB / 1.107 GB Notification: Performance of SimCode: time 1.032e-06/1.164, allocations: 4 kB / 1.371 GB, free: 9.129 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07015/1.234, allocations: 39.06 MB / 1.409 GB, free: 2.617 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/12.79, allocations: 14.3 kB / 1.409 GB, free: 2.605 MB / 1.139 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