Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: 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_10_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_10_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.001025/0.001025, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001303/0.001303, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.7 MB / 0.7117 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003154/0.0003154, allocations: 8 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6002, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity): time 0.02807/0.6284, allocations: 29.08 MB / 1.051 GB, free: 2.879 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007728/0.6361, allocations: 5.027 MB / 1.056 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006497/0.6368, allocations: 35.75 kB / 1.056 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0007707/0.6376, allocations: 290.2 kB / 1.056 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.6402, allocations: 1.119 MB / 1.057 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.6419, allocations: 0.6438 MB / 1.058 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.002685/0.6446, allocations: 2.44 MB / 1.06 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006471/0.6453, allocations: 453.3 kB / 1.061 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.6464, allocations: 0.6417 MB / 1.061 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000657/0.647, allocations: 0.4977 MB / 1.062 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.083e-05/0.6471, allocations: 24 kB / 1.062 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.649, allocations: 0.8692 MB / 1.063 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.6491, allocations: 127.4 kB / 1.063 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.6493, allocations: 161.4 kB / 1.063 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.6506, allocations: 1.003 MB / 1.064 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6506, allocations: 0 / 1.064 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6507, allocations: 0 / 1.064 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.6507, allocations: 0 / 1.064 GB, free: 5.527 MB / 0.8106 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.001443/0.6521, allocations: 0.9695 MB / 1.065 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.6522, allocations: 11.98 kB / 1.065 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/0.6544, allocations: 282.7 kB / 1.065 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.6556, allocations: 0.6507 MB / 1.066 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.6556, allocations: 37 kB / 1.066 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.801e-05/0.6557, allocations: 48 kB / 1.066 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008592/0.6566, allocations: 0.5165 MB / 1.066 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.6566, allocations: 11.89 kB / 1.066 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.774e-05/0.6566, allocations: 19.98 kB / 1.066 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.6567, allocations: 12 kB / 1.066 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.6573, allocations: 359.6 kB / 1.067 GB, free: 2.496 MB / 0.8106 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.002757/0.6601, allocations: 2.826 MB / 1.069 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005219/0.6607, allocations: 302.2 kB / 1.07 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.6609, allocations: 142.1 kB / 1.07 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/0.6614, allocations: 0.6651 MB / 1.07 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.6614, allocations: 39.25 kB / 1.07 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=28): time 1.823e-06/0.6614, allocations: 0 / 1.07 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of matching and sorting (n=40): time 0.006019/0.6675, allocations: 2.078 MB / 1.073 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.6675, allocations: 89.05 kB / 1.073 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.6682, allocations: 0.5069 MB / 1.073 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.6682, allocations: 37.64 kB / 1.073 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002204/0.6685, allocations: 328.3 kB / 1.073 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.6686, allocations: 142 kB / 1.074 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.6686, allocations: 8 kB / 1.074 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6688, allocations: 366.8 kB / 1.074 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.6691, allocations: 165 kB / 1.074 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000421/0.6696, allocations: 297.4 kB / 1.074 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.67, allocations: 199.7 kB / 1.075 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.67, allocations: 0 / 1.075 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001702/0.6717, allocations: 0.7359 MB / 1.075 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.804e-05/0.6718, allocations: 176.4 kB / 1.075 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.6718, allocations: 7.938 kB / 1.075 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009468/0.6728, allocations: 281.5 kB / 1.076 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.6731, allocations: 67.89 kB / 1.076 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00591/0.679, allocations: 4.327 MB / 1.08 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009511/0.68, allocations: 80.08 kB / 1.08 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.68, allocations: 19.98 kB / 1.08 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-06/0.68, allocations: 15.88 kB / 1.08 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001583/0.6816, allocations: 0.6569 MB / 1.081 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.6816, allocations: 0 / 1.081 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000903/0.6825, allocations: 277.7 kB / 1.081 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.6828, allocations: 67.91 kB / 1.081 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005716/0.6886, allocations: 4.323 MB / 1.085 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009557/0.6895, allocations: 91.75 kB / 1.085 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.6896, allocations: 27.89 kB / 1.085 GB, free: 14.02 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003141/0.6899, allocations: 281 kB / 1.086 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.69, allocations: 59.34 kB / 1.086 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.6917, allocations: 0.6757 MB / 1.086 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.6917, allocations: 4 kB / 1.086 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.6917, allocations: 3.984 kB / 1.086 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/0.6933, allocations: 0.7409 MB / 1.087 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.6962, allocations: 1.703 MB / 1.089 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6962, allocations: 0 / 1.089 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.6965, allocations: 51.91 kB / 1.089 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009028/0.6974, allocations: 249.5 kB / 1.089 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.6974, allocations: 12 kB / 1.089 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005152/0.7026, allocations: 3.943 MB / 1.093 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7026, allocations: 0 / 1.093 GB, free: 5.883 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.7046, allocations: 0.9382 MB / 1.094 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.7048, allocations: 188.3 kB / 1.094 GB, free: 4.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.292e-05/0.7049, allocations: 16.2 kB / 1.094 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008719/0.7058, allocations: 63.98 kB / 1.094 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.56e-05/0.7059, allocations: 39.89 kB / 1.094 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.706, allocations: 19.98 kB / 1.094 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000495/0.7065, allocations: 362.8 kB / 1.095 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7065, allocations: 3.938 kB / 1.095 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001469/0.7079, allocations: 411.9 kB / 1.095 GB, free: 3.82 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000567/0.7085, allocations: 279.6 kB / 1.095 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002862/0.7114, allocations: 1.37 MB / 1.097 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7114, allocations: 0 / 1.097 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.7126, allocations: 0.5481 MB / 1.097 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.7143, allocations: 341.5 kB / 1.097 GB, free: 1.223 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.7164, allocations: 1.542 MB / 1.099 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.717, allocations: 0.9299 MB / 1.1 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006077/0.7176, allocations: 128.7 kB / 1.1 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.7177, allocations: 55.36 kB / 1.1 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.7177, allocations: 0 / 1.1 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of Templates: time 0.02594/0.7437, allocations: 16.99 MB / 1.117 GB, free: 13.76 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches