Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 92.16 kB / 16.02 MB, free: 80 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.001739/0.001739, allocations: 182 kB / 16.92 MB, free: 6.922 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.9 MB / 0.667 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003627, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7006/0.7009, allocations: 142.4 MB / 0.9557 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.04283/0.7438, allocations: 39.82 MB / 0.9946 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008064/0.7519, allocations: 4.092 MB / 0.9986 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.7534, allocations: 31.75 kB / 0.9986 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.7547, allocations: 282.4 kB / 0.9989 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007052/0.7617, allocations: 2.287 MB / 1.001 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.7643, allocations: 0.8409 MB / 1.002 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003789/0.7681, allocations: 2.903 MB / 1.005 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.7692, allocations: 0.5216 MB / 1.005 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004415/0.7736, allocations: 2.442 MB / 1.008 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.7748, allocations: 0.556 MB / 1.008 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.775, allocations: 24 kB / 1.008 GB, free: 9.414 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006093/0.7811, allocations: 3.361 MB / 1.012 GB, free: 6.047 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003488/0.7814, allocations: 139.3 kB / 1.012 GB, free: 5.91 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006412/0.7821, allocations: 371.9 kB / 1.012 GB, free: 5.539 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002795/0.7849, allocations: 1.333 MB / 1.013 GB, free: 4.203 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7849, allocations: 7.938 kB / 1.013 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7849, allocations: 0 / 1.013 GB, free: 4.195 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.473e-05/0.785, allocations: 0 / 1.013 GB, free: 4.195 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002004/0.787, allocations: 1.036 MB / 1.014 GB, free: 3.105 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.7871, allocations: 11.97 kB / 1.014 GB, free: 3.094 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.7884, allocations: 159.9 kB / 1.014 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.7901, allocations: 0.7951 MB / 1.015 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.7902, allocations: 29 kB / 1.015 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.7903, allocations: 51.91 kB / 1.015 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009079/0.7912, allocations: 0.5196 MB / 1.016 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.7912, allocations: 0 / 1.016 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.7913, allocations: 20 kB / 1.016 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.7913, allocations: 12 kB / 1.016 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.7919, allocations: 335.7 kB / 1.016 GB, free: 1.109 MB / 0.7637 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.003085/0.795, allocations: 2.455 MB / 1.019 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004339/0.7954, allocations: 267.8 kB / 1.019 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.7956, allocations: 136.8 kB / 1.019 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/0.7967, allocations: 1.382 MB / 1.02 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.7967, allocations: 30.56 kB / 1.02 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.7967, allocations: 0 / 1.02 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43): time 0.004597/0.8013, allocations: 1.785 MB / 1.022 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.8014, allocations: 59.41 kB / 1.022 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/0.8021, allocations: 0.4951 MB / 1.023 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.8022, allocations: 33.7 kB / 1.023 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002645/0.8025, allocations: 328.4 kB / 1.023 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.8026, allocations: 153.8 kB / 1.023 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.8027, allocations: 41.64 kB / 1.023 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.8029, allocations: 370.8 kB / 1.024 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.8031, allocations: 149 kB / 1.024 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.8035, allocations: 262.8 kB / 1.024 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.8041, allocations: 448.8 kB / 1.024 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8041, allocations: 3.938 kB / 1.024 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001084/0.8052, allocations: 0.5996 MB / 1.025 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.8053, allocations: 179.3 kB / 1.025 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.8054, allocations: 4 kB / 1.025 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008177/0.8062, allocations: 193.5 kB / 1.025 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.8065, allocations: 75.89 kB / 1.025 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.8077, allocations: 1.351 MB / 1.027 GB, free: 5.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.8083, allocations: 40.02 kB / 1.027 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.8083, allocations: 24 kB / 1.027 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.8083, allocations: 4 kB / 1.027 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008708/0.8092, allocations: 0.5242 MB / 1.027 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.8092, allocations: 4 kB / 1.027 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000699/0.8099, allocations: 201.9 kB / 1.027 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.8102, allocations: 67.91 kB / 1.028 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.8113, allocations: 1.347 MB / 1.029 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.8118, allocations: 32.17 kB / 1.029 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.8118, allocations: 31.88 kB / 1.029 GB, free: 3.176 MB / 0.7794 GB 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 (41): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000369/0.8122, allocations: 285 kB / 1.029 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.8123, allocations: 67.19 kB / 1.029 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.8136, allocations: 0.6262 MB / 1.03 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.8136, allocations: 4 kB / 1.03 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.8136, allocations: 3.938 kB / 1.03 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008923/0.8145, allocations: 0.6555 MB / 1.031 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002421/0.817, allocations: 1.458 MB / 1.032 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.817, allocations: 0 / 1.032 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.8172, allocations: 47.91 kB / 1.032 GB, free: 15.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.8182, allocations: 217.6 kB / 1.032 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.8182, allocations: 11.98 kB / 1.032 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.8193, allocations: 1.331 MB / 1.033 GB, free: 14.28 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8194, allocations: 8.156 kB / 1.033 GB, free: 14.27 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.8209, allocations: 0.8732 MB / 1.034 GB, free: 13.37 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.8213, allocations: 192.3 kB / 1.035 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.8214, allocations: 16.06 kB / 1.035 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.8218, allocations: 27.83 kB / 1.035 GB, free: 13.12 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.8219, allocations: 31.89 kB / 1.035 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.822, allocations: 23.98 kB / 1.035 GB, free: 13.07 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0004726/0.8224, allocations: 354.8 kB / 1.035 GB, free: 12.72 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8224, allocations: 96 / 1.035 GB, free: 12.72 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001484/0.8239, allocations: 459.8 kB / 1.035 GB, free: 12.27 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T,vol1.dynBal.medium.T) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001179/0.8251, allocations: 455.6 kB / 1.036 GB, free: 11.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00148/0.8266, allocations: 0.6719 MB / 1.036 GB, free: 11.15 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/0.8266, allocations: 8.125 kB / 1.037 GB, free: 11.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.8272, allocations: 240.5 kB / 1.037 GB, free: 10.91 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.829, allocations: 326.3 kB / 1.037 GB, free: 10.59 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.8315, allocations: 1.549 MB / 1.039 GB, free: 9.016 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.8321, allocations: 0.9106 MB / 1.039 GB, free: 8.078 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.8323, allocations: 59.41 kB / 1.04 GB, free: 8.023 MB / 0.795 GB Notification: Performance of SimCode: time 9.02e-07/0.8323, allocations: 0 / 1.04 GB, free: 8.023 MB / 0.795 GB Notification: Performance of Templates: time 0.02672/0.8591, allocations: 18.32 MB / 1.057 GB, free: 5.785 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches