Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008283/0.0008281, allocations: 87.98 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.001025/0.001025, allocations: 185.7 kB / 16.92 MB, free: 6.688 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.258 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.395/2.395, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8028/0.8032, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity): time 0.0314/0.8347, allocations: 30.87 MB / 0.9858 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.845, allocations: 5.322 MB / 0.991 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.8466, allocations: 33.19 kB / 0.9911 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.8478, allocations: 315 kB / 0.9914 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.8526, allocations: 1.33 MB / 0.9927 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.8552, allocations: 0.7659 MB / 0.9934 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003986/0.8592, allocations: 2.849 MB / 0.9962 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/0.8602, allocations: 0.5039 MB / 0.9967 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.862, allocations: 0.6571 MB / 0.9973 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.8632, allocations: 0.5326 MB / 0.9979 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.8633, allocations: 24 kB / 0.9979 GB, free: 4.059 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.8663, allocations: 1.142 MB / 0.999 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.8666, allocations: 135.4 kB / 0.9991 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000693/0.8673, allocations: 363.9 kB / 0.9995 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.8694, allocations: 1.095 MB / 1.001 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8694, allocations: 0 / 1.001 GB, free: 1.32 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.35e-06/0.8694, allocations: 4 kB / 1.001 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.052e-05/0.8695, allocations: 3.938 kB / 1.001 GB, free: 1.312 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001948/0.8714, allocations: 0.9541 MB / 1.001 GB, free: 312 kB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.8715, allocations: 8.031 kB / 1.001 GB, free: 304 kB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002565/0.8741, allocations: 287.7 kB / 1.002 GB, free: 16 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.8756, allocations: 0.671 MB / 1.002 GB, free: 15.3 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.8757, allocations: 36.88 kB / 1.002 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/0.8758, allocations: 48 kB / 1.002 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.8768, allocations: 0.5321 MB / 1.003 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.8768, allocations: 0 / 1.003 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/0.8769, allocations: 23.94 kB / 1.003 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.8769, allocations: 12 kB / 1.003 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000772/0.8777, allocations: 363.6 kB / 1.003 GB, free: 14.26 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.00345/0.8812, allocations: 2.818 MB / 1.006 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.8818, allocations: 309.8 kB / 1.006 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.8821, allocations: 146.1 kB / 1.007 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.8827, allocations: 0.6573 MB / 1.007 GB, free: 9.941 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.8828, allocations: 46.78 kB / 1.007 GB, free: 9.887 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.8828, allocations: 0 / 1.007 GB, free: 9.887 MB / 0.7637 GB Notification: Performance of matching and sorting (n=40): time 0.007126/0.8899, allocations: 2.088 MB / 1.009 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.174e-05/0.89, allocations: 85.11 kB / 1.009 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008784/0.8909, allocations: 0.5184 MB / 1.01 GB, free: 7.09 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.891, allocations: 37.7 kB / 1.01 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.8913, allocations: 324.4 kB / 1.01 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.8915, allocations: 137.9 kB / 1.01 GB, free: 6.586 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.8916, allocations: 41.7 kB / 1.01 GB, free: 6.539 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.8917, allocations: 370.8 kB / 1.011 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003947/0.8922, allocations: 169 kB / 1.011 GB, free: 6.004 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.8926, allocations: 291.2 kB / 1.011 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008515/0.8935, allocations: 467.5 kB / 1.012 GB, free: 5.168 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8935, allocations: 4 kB / 1.012 GB, free: 5.164 MB / 0.7637 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001967/0.8955, allocations: 0.7399 MB / 1.012 GB, free: 4.41 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.8956, allocations: 187.8 kB / 1.013 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.8957, allocations: 4 kB / 1.013 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.8967, allocations: 273.5 kB / 1.013 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002979/0.8971, allocations: 63.91 kB / 1.013 GB, free: 3.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/0.9038, allocations: 4.336 MB / 1.017 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.9051, allocations: 79.88 kB / 1.017 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/0.9052, allocations: 20 kB / 1.017 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.9052, allocations: 4 kB / 1.017 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001876/0.9071, allocations: 0.6571 MB / 1.018 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.9071, allocations: 4 kB / 1.018 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.9082, allocations: 289.7 kB / 1.018 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002816/0.9085, allocations: 67.84 kB / 1.018 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006578/0.9151, allocations: 4.337 MB / 1.022 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.9163, allocations: 83.77 kB / 1.023 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.297e-05/0.9164, allocations: 19.98 kB / 1.023 GB, free: 9.406 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (39): * Single equations (assignments): 37 * 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), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004136/0.9168, allocations: 288.9 kB / 1.023 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.917, allocations: 63.33 kB / 1.023 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.9189, allocations: 0.6649 MB / 1.024 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.919, allocations: 8 kB / 1.024 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.919, allocations: 0 / 1.024 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/0.9207, allocations: 0.7492 MB / 1.024 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/0.9242, allocations: 1.698 MB / 1.026 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.9242, allocations: 0 / 1.026 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.9245, allocations: 51.91 kB / 1.026 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.9255, allocations: 249.5 kB / 1.026 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.9256, allocations: 20.05 kB / 1.026 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005859/0.9314, allocations: 3.963 MB / 1.03 GB, free: 1.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9315, allocations: 4.188 kB / 1.03 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.9338, allocations: 0.9387 MB / 1.031 GB, free: 284 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.9342, allocations: 196.2 kB / 1.031 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.9343, allocations: 19.98 kB / 1.031 GB, free: 48 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.9354, allocations: 72.08 kB / 1.031 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.9356, allocations: 31.89 kB / 1.031 GB, free: 15.94 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.9356, allocations: 19.98 kB / 1.031 GB, free: 15.92 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006094/0.9362, allocations: 370.8 kB / 1.032 GB, free: 15.56 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9362, allocations: 0 / 1.032 GB, free: 15.56 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001716/0.9379, allocations: 411.9 kB / 1.032 GB, free: 15.16 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[1].h_outflow,vol1.ports[1].h_outflow) * 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 (28): * Single equations (assignments): 26 * 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,6), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007359/0.9387, allocations: 298.3 kB / 1.032 GB, free: 14.87 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.003311/0.942, allocations: 1.366 MB / 1.034 GB, free: 13.45 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.942, allocations: 320 / 1.034 GB, free: 13.45 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.9434, allocations: 0.5439 MB / 1.034 GB, free: 12.88 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001953/0.9453, allocations: 345.6 kB / 1.035 GB, free: 12.55 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.9478, allocations: 1.565 MB / 1.036 GB, free: 10.96 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.9484, allocations: 0.9185 MB / 1.037 GB, free: 10.01 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.9486, allocations: 51.42 kB / 1.037 GB, free: 9.965 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.9486, allocations: 0 / 1.037 GB, free: 9.965 MB / 0.795 GB Notification: Performance of Templates: time 0.02439/0.973, allocations: 17.06 MB / 1.054 GB, free: 9.004 MB / 0.8106 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches