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.001071/0.001071, 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.001117/0.001117, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.448/2.448, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.89 kB / 0.8693 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5393/0.5406, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2011/0.7417, allocations: 209.9 MB / 1.222 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.755, allocations: 9.881 MB / 1.232 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.7565, allocations: 59.62 kB / 1.232 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.7583, allocations: 0.7726 MB / 1.233 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00647/0.7648, allocations: 2.8 MB / 1.236 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002969/0.7678, allocations: 1.369 MB / 1.237 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004278/0.7721, allocations: 4.069 MB / 1.241 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.7738, allocations: 1.325 MB / 1.242 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.7758, allocations: 1.354 MB / 1.243 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002252/0.7781, allocations: 1.226 MB / 1.245 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003076/0.7784, allocations: 148 kB / 1.245 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004065/0.7825, allocations: 2.377 MB / 1.247 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006566/0.7831, allocations: 0.6039 MB / 1.248 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.7842, allocations: 0.8634 MB / 1.249 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003816/0.7881, allocations: 2.968 MB / 1.251 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7881, allocations: 0 / 1.251 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7881, allocations: 0 / 1.251 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.335e-05/0.7882, allocations: 0 / 1.251 GB, free: 1.895 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.426/1.214, allocations: 1.892 MB / 1.253 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.214, allocations: 8.938 kB / 1.253 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003809/1.215, allocations: 172.9 kB / 1.254 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/1.218, allocations: 481.9 kB / 1.254 GB, free: 235.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/1.22, allocations: 1.071 MB / 1.255 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/1.22, allocations: 85.86 kB / 1.255 GB, free: 235.1 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/1.22, allocations: 111.8 kB / 1.255 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/1.222, allocations: 1.156 MB / 1.256 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/1.222, allocations: 4.719 kB / 1.256 GB, free: 234.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/1.222, allocations: 42.91 kB / 1.256 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/1.222, allocations: 40.78 kB / 1.256 GB, free: 234.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/1.224, allocations: 1.077 MB / 1.257 GB, free: 234.2 MB / 0.9981 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.005771/1.23, allocations: 4.243 MB / 1.262 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/1.231, allocations: 0.7847 MB / 1.262 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006636/1.232, allocations: 490.3 kB / 1.263 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/1.232, allocations: 292 kB / 1.263 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/1.232, allocations: 50.28 kB / 1.263 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 2.295e-06/1.232, allocations: 0 / 1.263 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.005514/1.237, allocations: 2.834 MB / 1.266 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/1.238, allocations: 61.73 kB / 1.266 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/1.239, allocations: 0.9779 MB / 1.267 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/1.239, allocations: 42.48 kB / 1.267 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/1.239, allocations: 0.5443 MB / 1.268 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/1.239, allocations: 320.3 kB / 1.268 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/1.24, allocations: 158.1 kB / 1.268 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.802e-05/1.24, allocations: 341.2 kB / 1.268 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/1.24, allocations: 338 kB / 1.269 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005631/1.241, allocations: 489.7 kB / 1.269 GB, free: 227.4 MB / 0.9981 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.005467/1.246, allocations: 3.041 MB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/1.246, allocations: 1.969 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001402/1.248, allocations: 1.014 MB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.248, allocations: 7.906 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.248, allocations: 3.25 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.248, allocations: 7.359 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/1.248, allocations: 183.3 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/1.249, allocations: 6.875 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009425/1.249, allocations: 30.98 kB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/1.25, allocations: 40.75 kB / 1.273 GB, free: 225.6 MB / 0.9981 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.0004664/1.25, allocations: 376.8 kB / 1.274 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/1.25, allocations: 130.1 kB / 1.274 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/1.25, allocations: 148.6 kB / 1.274 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/1.25, allocations: 12.22 kB / 1.274 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.25, allocations: 5.734 kB / 1.274 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001289/1.252, allocations: 1.095 MB / 1.275 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004078/1.256, allocations: 3.045 MB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.256, allocations: 11.81 kB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/1.257, allocations: 160.9 kB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002919/1.257, allocations: 106.4 kB / 1.278 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.396e-05/1.257, allocations: 28.91 kB / 1.278 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/1.259, allocations: 3.091 MB / 1.281 GB, free: 220 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.259, allocations: 20.38 kB / 1.281 GB, free: 220 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/1.26, allocations: 1.734 MB / 1.283 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004344/1.261, allocations: 302.1 kB / 1.283 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.261, allocations: 36.36 kB / 1.283 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000878/1.262, allocations: 40.73 kB / 1.283 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.262, allocations: 87.17 kB / 1.283 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/1.262, allocations: 49.2 kB / 1.284 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006901/1.263, allocations: 0.6914 MB / 1.284 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.263, allocations: 0 / 1.284 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009453/1.264, allocations: 378.9 kB / 1.285 GB, free: 218.1 MB / 0.9981 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.002118/1.266, allocations: 2.416 MB / 1.287 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001267/1.267, allocations: 0.9592 MB / 1.288 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.267, allocations: 0 / 1.288 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006864/1.268, allocations: 0.675 MB / 1.289 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/1.272, allocations: 0.9312 MB / 1.289 GB, free: 214.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009376/1.281, allocations: 10.27 MB / 1.299 GB, free: 203.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/1.281, allocations: 1.241 MB / 1.301 GB, free: 202.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001141/1.283, allocations: 347 kB / 1.301 GB, free: 202.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004662/1.283, allocations: 471.3 kB / 1.301 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/1.283, allocations: 0 / 1.301 GB, free: 201.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05481/1.338, allocations: 38.2 MB / 1.339 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/11.73, allocations: 9.953 kB / 1.339 GB, free: 164.2 MB / 0.9981 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