Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="Buildings_11_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.00188/0.00188, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002066/0.002066, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.43/1.43, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 469.8 MB / 0.7424 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001954, allocations: 65.45 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2625, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6908/0.9532, allocations: 209.9 MB / 1.269 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.9652, allocations: 9.861 MB / 1.279 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.9668, allocations: 60.02 kB / 1.279 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.9685, allocations: 0.771 MB / 1.279 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005939/0.9744, allocations: 2.814 MB / 1.282 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.9777, allocations: 1.363 MB / 1.284 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004711/0.9824, allocations: 4.063 MB / 1.288 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001953/0.9844, allocations: 1.332 MB / 1.289 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.9865, allocations: 1.352 MB / 1.29 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.9886, allocations: 1.231 MB / 1.291 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002294/0.9888, allocations: 144.1 kB / 1.291 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004367/0.9932, allocations: 2.384 MB / 1.294 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005747/0.9938, allocations: 0.6052 MB / 1.294 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009008/0.9947, allocations: 0.8614 MB / 1.295 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003692/0.9984, allocations: 2.968 MB / 1.298 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.9984, allocations: 0.8438 kB / 1.298 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9984, allocations: 0 / 1.298 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.9985, allocations: 2.219 kB / 1.298 GB, free: 3.816 MB / 0.9981 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.002961/1.001, allocations: 1.896 MB / 1.3 GB, free: 18.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/1.001, allocations: 9.844 kB / 1.3 GB, free: 18.88 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/1.002, allocations: 170 kB / 1.3 GB, free: 18.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003121/1.005, allocations: 488.6 kB / 1.301 GB, free: 18.76 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/1.006, allocations: 1.069 MB / 1.302 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.241e-05/1.006, allocations: 83.61 kB / 1.302 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000159/1.007, allocations: 114.4 kB / 1.302 GB, free: 18.38 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/1.008, allocations: 1.159 MB / 1.303 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/1.008, allocations: 0 / 1.303 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/1.009, allocations: 48.03 kB / 1.303 GB, free: 18.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/1.009, allocations: 43.58 kB / 1.303 GB, free: 18.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/1.01, allocations: 1.069 MB / 1.304 GB, free: 18.28 MB / 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.005365/1.015, allocations: 4.252 MB / 1.308 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/1.017, allocations: 0.7848 MB / 1.309 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006028/1.017, allocations: 488.5 kB / 1.31 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004296/1.018, allocations: 292.9 kB / 1.31 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/1.018, allocations: 48.28 kB / 1.31 GB, free: 16.27 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.795e-06/1.018, allocations: 0 / 1.31 GB, free: 16.27 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.005213/1.023, allocations: 2.836 MB / 1.313 GB, free: 15.51 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/1.023, allocations: 64.22 kB / 1.313 GB, free: 15.45 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/1.024, allocations: 0.9763 MB / 1.314 GB, free: 15.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/1.024, allocations: 46.14 kB / 1.314 GB, free: 15.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/1.024, allocations: 0.5407 MB / 1.314 GB, free: 15.07 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/1.025, allocations: 311.7 kB / 1.314 GB, free: 14.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/1.025, allocations: 160.6 kB / 1.315 GB, free: 14.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.025, allocations: 336.8 kB / 1.315 GB, free: 14.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/1.026, allocations: 342.1 kB / 1.315 GB, free: 14.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/1.026, allocations: 489.4 kB / 1.316 GB, free: 14.43 MB / 1.014 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.005407/1.032, allocations: 3.039 MB / 1.319 GB, free: 14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.032, allocations: 3.938 kB / 1.319 GB, free: 13.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00133/1.033, allocations: 1.014 MB / 1.32 GB, free: 13.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/1.033, allocations: 8.062 kB / 1.32 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/1.033, allocations: 2.469 kB / 1.32 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/1.033, allocations: 9.344 kB / 1.32 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/1.034, allocations: 178.8 kB / 1.32 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.034, allocations: 12.25 kB / 1.32 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009955/1.035, allocations: 27.75 kB / 1.32 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/1.035, allocations: 34.84 kB / 1.32 GB, free: 13.88 MB / 1.014 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.0005091/1.035, allocations: 380.4 kB / 1.32 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/1.035, allocations: 128.3 kB / 1.32 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/1.036, allocations: 150.8 kB / 1.321 GB, free: 13.67 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/1.036, allocations: 14.97 kB / 1.321 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/1.036, allocations: 3.938 kB / 1.321 GB, free: 13.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001349/1.037, allocations: 1.099 MB / 1.322 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/1.041, allocations: 3.048 MB / 1.325 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/1.041, allocations: 10.25 kB / 1.325 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/1.042, allocations: 162.9 kB / 1.325 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002897/1.042, allocations: 107.2 kB / 1.325 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/1.042, allocations: 30 kB / 1.325 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/1.045, allocations: 3.088 MB / 1.328 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/1.045, allocations: 16.97 kB / 1.328 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/1.047, allocations: 1.734 MB / 1.33 GB, free: 9.305 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004641/1.047, allocations: 311.4 kB / 1.33 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/1.047, allocations: 32.75 kB / 1.33 GB, free: 9.145 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009179/1.048, allocations: 35.36 kB / 1.33 GB, free: 9.141 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/1.048, allocations: 90.77 kB / 1.33 GB, free: 9.129 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/1.048, allocations: 46.25 kB / 1.33 GB, free: 9.129 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007258/1.049, allocations: 0.7007 MB / 1.331 GB, free: 9.016 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.049, allocations: 0 / 1.331 GB, free: 9.016 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009882/1.05, allocations: 374.7 kB / 1.331 GB, free: 9.012 MB / 1.014 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.002785/1.053, allocations: 2.406 MB / 1.334 GB, free: 7.875 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001333/1.054, allocations: 0.9626 MB / 1.335 GB, free: 7.848 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/1.054, allocations: 10.16 kB / 1.335 GB, free: 7.84 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000825/1.055, allocations: 0.6667 MB / 1.335 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/1.059, allocations: 0.9319 MB / 1.336 GB, free: 7.352 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/1.071, allocations: 10.28 MB / 1.346 GB, free: 1.398 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000828/1.072, allocations: 1.252 MB / 1.347 GB, free: 0.625 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001203/1.073, allocations: 341.1 kB / 1.348 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006282/1.074, allocations: 477.9 kB / 1.348 GB, free: 208 kB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/1.074, allocations: 0 / 1.348 GB, free: 208 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07638/1.15, allocations: 38.18 MB / 1.385 GB, free: 7.414 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.32, allocations: 17.97 kB / 1.385 GB, free: 7.398 MB / 1.045 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches