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.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: 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.001219/0.00122, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.01137/0.01137, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.46/1.46, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.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.475/2.475, allocations: 390.9 MB / 0.6663 GB, free: 2.301 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7205/0.7208, allocations: 142.4 MB / 0.955 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.04375/0.7646, allocations: 39.83 MB / 0.9939 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007998/0.7727, allocations: 4.097 MB / 0.9979 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.774, allocations: 31.75 kB / 0.998 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.7751, allocations: 290.3 kB / 0.9982 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006525/0.7816, allocations: 2.272 MB / 1 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003303/0.7849, allocations: 0.8419 MB / 1.001 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003951/0.7889, allocations: 2.904 MB / 1.004 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009317/0.7899, allocations: 0.5177 MB / 1.005 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/0.7939, allocations: 2.442 MB / 1.007 GB, free: 9.992 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009957/0.7949, allocations: 0.5482 MB / 1.008 GB, free: 9.441 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 7.907e-05/0.795, allocations: 24 kB / 1.008 GB, free: 9.418 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005465/0.8005, allocations: 3.362 MB / 1.011 GB, free: 6.051 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.8007, allocations: 143.4 kB / 1.011 GB, free: 5.91 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0004198/0.8011, allocations: 375.8 kB / 1.011 GB, free: 5.535 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.804, allocations: 1.776 MB / 1.013 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.804, allocations: 0 / 1.013 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.124e-06/0.804, allocations: 0 / 1.013 GB, free: 3.754 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.804, allocations: 4 kB / 1.013 GB, free: 3.75 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.001607/0.8057, allocations: 1.036 MB / 1.014 GB, free: 2.66 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.8057, allocations: 12.03 kB / 1.014 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.8069, allocations: 155.9 kB / 1.014 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.8082, allocations: 0.7951 MB / 1.015 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.8082, allocations: 37 kB / 1.015 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.393e-05/0.8083, allocations: 55.84 kB / 1.015 GB, free: 1.566 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008108/0.8091, allocations: 0.5196 MB / 1.016 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.8092, allocations: 0 / 1.016 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.8092, allocations: 20 kB / 1.016 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.8092, allocations: 12 kB / 1.016 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005361/0.8098, allocations: 339.7 kB / 1.016 GB, free: 0.6523 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.002497/0.8123, allocations: 2.447 MB / 1.018 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.8127, allocations: 272.3 kB / 1.019 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.8129, allocations: 140.8 kB / 1.019 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009106/0.8138, allocations: 1.37 MB / 1.02 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.8139, allocations: 38.56 kB / 1.02 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=31): time 1.893e-06/0.8139, allocations: 0 / 1.02 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43): time 0.004206/0.8181, allocations: 1.795 MB / 1.022 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.8181, allocations: 55.41 kB / 1.022 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005611/0.8187, allocations: 0.4951 MB / 1.022 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.8188, allocations: 37.7 kB / 1.022 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.819, allocations: 328.4 kB / 1.023 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.8191, allocations: 149.8 kB / 1.023 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.8192, allocations: 49.69 kB / 1.023 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8193, allocations: 362.8 kB / 1.023 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.8196, allocations: 149 kB / 1.023 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.8199, allocations: 270.7 kB / 1.024 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005681/0.8205, allocations: 444.8 kB / 1.024 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.8205, allocations: 4 kB / 1.024 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009437/0.8214, allocations: 0.5954 MB / 1.025 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.8215, allocations: 175.7 kB / 1.025 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.8216, allocations: 4.047 kB / 1.025 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007353/0.8223, allocations: 201.5 kB / 1.025 GB, free: 6.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.8226, allocations: 67.91 kB / 1.025 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.8236, allocations: 1.354 MB / 1.026 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.8241, allocations: 40.03 kB / 1.027 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.8241, allocations: 20 kB / 1.027 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.8241, allocations: 7.938 kB / 1.027 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008547/0.825, allocations: 0.5281 MB / 1.027 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.825, allocations: 4 kB / 1.027 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006641/0.8257, allocations: 193.6 kB / 1.027 GB, free: 4.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.8259, allocations: 68.22 kB / 1.027 GB, free: 4.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009638/0.8269, allocations: 1.354 MB / 1.029 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.8273, allocations: 36.05 kB / 1.029 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.8273, allocations: 20 kB / 1.029 GB, free: 2.723 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.0003109/0.8276, allocations: 289 kB / 1.029 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.8277, allocations: 67.19 kB / 1.029 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.8289, allocations: 0.6263 MB / 1.03 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.829, allocations: 4 kB / 1.03 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.829, allocations: 3.938 kB / 1.03 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008767/0.8299, allocations: 0.6556 MB / 1.03 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.832, allocations: 1.45 MB / 1.032 GB, free: 15.49 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.832, allocations: 4.031 kB / 1.032 GB, free: 15.48 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.8322, allocations: 55.91 kB / 1.032 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009341/0.8332, allocations: 213.5 kB / 1.032 GB, free: 15.21 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.8332, allocations: 12 kB / 1.032 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009807/0.8342, allocations: 1.331 MB / 1.033 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8342, allocations: 0 / 1.033 GB, free: 13.82 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.8355, allocations: 0.8735 MB / 1.034 GB, free: 12.92 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.8358, allocations: 196.2 kB / 1.034 GB, free: 12.71 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.8359, allocations: 8 kB / 1.034 GB, free: 12.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004226/0.8363, allocations: 44 kB / 1.034 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.8363, allocations: 27.91 kB / 1.034 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.8364, allocations: 23.92 kB / 1.034 GB, free: 12.61 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003876/0.8368, allocations: 350.8 kB / 1.035 GB, free: 12.27 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8368, allocations: 0 / 1.035 GB, free: 12.27 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001331/0.8381, allocations: 459.8 kB / 1.035 GB, free: 11.82 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.0009703/0.8391, allocations: 451.7 kB / 1.036 GB, free: 11.38 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.8404, allocations: 0.6788 MB / 1.036 GB, free: 10.7 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.8404, allocations: 1 kB / 1.036 GB, free: 10.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004782/0.8409, allocations: 232.6 kB / 1.036 GB, free: 10.47 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.8427, allocations: 339.6 kB / 1.037 GB, free: 10.14 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.8448, allocations: 1.509 MB / 1.038 GB, free: 8.605 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.8453, allocations: 0.9144 MB / 1.039 GB, free: 7.664 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006199/0.8459, allocations: 208.3 kB / 1.039 GB, free: 7.461 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.846, allocations: 55.42 kB / 1.039 GB, free: 7.41 MB / 0.795 GB Notification: Performance of SimCode: time 4.61e-07/0.846, allocations: 0 / 1.039 GB, free: 7.41 MB / 0.795 GB Notification: Performance of Templates: time 0.02586/0.8719, allocations: 16.25 MB / 1.055 GB, free: 7.348 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches