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.001407/0.001407, allocations: 108 kB / 15.6 MB, free: 132 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.001412/0.001412, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.528/2.528, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 72.11 kB / 0.9086 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2373, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6176/0.8549, allocations: 209.9 MB / 1.269 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.8652, allocations: 9.863 MB / 1.279 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.8662, allocations: 59.25 kB / 1.279 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.8677, allocations: 0.7697 MB / 1.279 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004822/0.8725, allocations: 2.808 MB / 1.282 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002664/0.8752, allocations: 1.371 MB / 1.284 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003879/0.8791, allocations: 4.066 MB / 1.288 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.8807, allocations: 1.328 MB / 1.289 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.8825, allocations: 1.355 MB / 1.29 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.8843, allocations: 1.228 MB / 1.291 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.8845, allocations: 143.9 kB / 1.291 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00377/0.8883, allocations: 2.38 MB / 1.294 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005037/0.8888, allocations: 0.6094 MB / 1.294 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008162/0.8896, allocations: 0.859 MB / 1.295 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.8929, allocations: 2.969 MB / 1.298 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.8929, allocations: 5.062 kB / 1.298 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8929, allocations: 0 / 1.298 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.8929, allocations: 0 / 1.298 GB, free: 3.836 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.00264/0.8956, allocations: 1.894 MB / 1.3 GB, free: 18.9 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.8956, allocations: 10.97 kB / 1.3 GB, free: 18.9 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001822/0.8958, allocations: 169.7 kB / 1.3 GB, free: 18.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/0.8985, allocations: 492 kB / 1.301 GB, free: 18.78 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.8999, allocations: 1.064 MB / 1.302 GB, free: 18.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.9, allocations: 82.55 kB / 1.302 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.9001, allocations: 118.3 kB / 1.302 GB, free: 18.4 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.9017, allocations: 1.161 MB / 1.303 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.9017, allocations: 1.125 kB / 1.303 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-05/0.9018, allocations: 46.72 kB / 1.303 GB, free: 18.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-05/0.9019, allocations: 39.52 kB / 1.303 GB, free: 18.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.9033, allocations: 1.075 MB / 1.304 GB, free: 18.3 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.004721/0.908, allocations: 4.24 MB / 1.308 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009929/0.909, allocations: 0.7899 MB / 1.309 GB, free: 16.63 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.9095, allocations: 480.7 kB / 1.31 GB, free: 16.62 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/0.9099, allocations: 294 kB / 1.31 GB, free: 16.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.91, allocations: 53.09 kB / 1.31 GB, free: 16.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.013e-06/0.91, allocations: 3.938 kB / 1.31 GB, free: 16.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=89): time 0.004349/0.9143, allocations: 2.84 MB / 1.313 GB, free: 15.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.9144, allocations: 62.16 kB / 1.313 GB, free: 15.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009114/0.9153, allocations: 0.97 MB / 1.314 GB, free: 15.32 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.9154, allocations: 46.11 kB / 1.314 GB, free: 15.29 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.9156, allocations: 0.544 MB / 1.314 GB, free: 15.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.9158, allocations: 309.1 kB / 1.314 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.9161, allocations: 158.4 kB / 1.315 GB, free: 14.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.9162, allocations: 343.6 kB / 1.315 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.9167, allocations: 340.8 kB / 1.315 GB, free: 14.56 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004753/0.9172, allocations: 489.2 kB / 1.316 GB, free: 14.44 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.004795/0.922, allocations: 3.046 MB / 1.319 GB, free: 14.01 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.922, allocations: 10.75 kB / 1.319 GB, free: 14 MB / 1.014 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001163/0.9231, allocations: 1.008 MB / 1.32 GB, free: 13.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.9232, allocations: 8.219 kB / 1.32 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9232, allocations: 3.094 kB / 1.32 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.9232, allocations: 8.188 kB / 1.32 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.9238, allocations: 184 kB / 1.32 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.9238, allocations: 9.125 kB / 1.32 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008146/0.9246, allocations: 26.17 kB / 1.32 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.9247, allocations: 32.09 kB / 1.32 GB, free: 13.89 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.0004177/0.9251, allocations: 385.7 kB / 1.32 GB, free: 13.77 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.9253, allocations: 127.4 kB / 1.32 GB, free: 13.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.9255, allocations: 145.9 kB / 1.321 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.9255, allocations: 8.25 kB / 1.321 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.9255, allocations: 3.781 kB / 1.321 GB, free: 13.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/0.9267, allocations: 1.099 MB / 1.322 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.9301, allocations: 3.046 MB / 1.325 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.9301, allocations: 8.719 kB / 1.325 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005731/0.9307, allocations: 161.6 kB / 1.325 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000261/0.931, allocations: 103.4 kB / 1.325 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.931, allocations: 34.31 kB / 1.325 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.9331, allocations: 3.097 MB / 1.328 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.9332, allocations: 13.28 kB / 1.328 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.9349, allocations: 1.737 MB / 1.33 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.9353, allocations: 308.8 kB / 1.33 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.9354, allocations: 28.81 kB / 1.33 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008126/0.9362, allocations: 39.16 kB / 1.33 GB, free: 9.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.9e-05/0.9364, allocations: 88.05 kB / 1.33 GB, free: 9.148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.9364, allocations: 55.38 kB / 1.33 GB, free: 9.141 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006361/0.9371, allocations: 0.6955 MB / 1.331 GB, free: 9.031 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/0.9371, allocations: 0 / 1.331 GB, free: 9.031 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000825/0.9379, allocations: 372.3 kB / 1.331 GB, free: 9.031 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.002428/0.9403, allocations: 2.413 MB / 1.334 GB, free: 7.895 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.9415, allocations: 0.9592 MB / 1.335 GB, free: 7.863 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9415, allocations: 3.594 kB / 1.335 GB, free: 7.863 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007367/0.9423, allocations: 0.6702 MB / 1.335 GB, free: 7.578 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003495/0.9458, allocations: 0.9314 MB / 1.336 GB, free: 7.312 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.9569, allocations: 10.27 MB / 1.346 GB, free: 1.363 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007614/0.9577, allocations: 1.252 MB / 1.347 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001048/0.9588, allocations: 344.4 kB / 1.348 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.9593, allocations: 474.1 kB / 1.348 GB, free: 172 kB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.9593, allocations: 0 / 1.348 GB, free: 172 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.786/3.746, allocations: 38.18 MB / 1.385 GB, free: 7.352 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.39/24.14, allocations: 12.27 kB / 1.385 GB, free: 7.34 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=400 --tolerance=1e-06 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.mat","/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