Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001038/0.001038, allocations: 99.42 kB / 16.02 MB, free: 76 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.00145/0.00145, allocations: 185.9 kB / 16.92 MB, free: 6.75 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.837/2.837, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003614, allocations: 13.09 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3518, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity): time 0.03354/0.3853, allocations: 30.87 MB / 1.089 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009226/0.3946, allocations: 5.318 MB / 1.095 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.396, allocations: 27.81 kB / 1.095 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.3973, allocations: 326.2 kB / 1.095 GB, free: 324 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.4016, allocations: 1.318 MB / 1.096 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.4039, allocations: 0.7686 MB / 1.097 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003722/0.4077, allocations: 2.846 MB / 1.1 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.4087, allocations: 0.5023 MB / 1.1 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.4103, allocations: 0.6533 MB / 1.101 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.4114, allocations: 0.5482 MB / 1.101 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.4116, allocations: 24 kB / 1.101 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002637/0.4142, allocations: 1.146 MB / 1.103 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002417/0.4145, allocations: 135.4 kB / 1.103 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.4151, allocations: 363.9 kB / 1.103 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.417, allocations: 1.091 MB / 1.104 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.417, allocations: 4 kB / 1.104 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.617e-06/0.417, allocations: 0 / 1.104 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.656e-05/0.4171, allocations: 3.938 kB / 1.104 GB, free: 6.887 MB / 0.8575 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.001929/0.419, allocations: 0.9541 MB / 1.105 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4191, allocations: 15.97 kB / 1.105 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.4216, allocations: 279.7 kB / 1.105 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.4232, allocations: 0.6671 MB / 1.106 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.4233, allocations: 44.88 kB / 1.106 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.4234, allocations: 40 kB / 1.106 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.4244, allocations: 0.536 MB / 1.107 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4245, allocations: 0 / 1.107 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.4245, allocations: 20 kB / 1.107 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.4245, allocations: 12 kB / 1.107 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007814/0.4253, allocations: 355.7 kB / 1.107 GB, free: 3.852 MB / 0.8575 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.003416/0.4288, allocations: 2.83 MB / 1.11 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006032/0.4294, allocations: 305.6 kB / 1.11 GB, free: 488 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.4297, allocations: 146.1 kB / 1.11 GB, free: 336 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005997/0.4303, allocations: 0.6612 MB / 1.111 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.4303, allocations: 39.38 kB / 1.111 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/0.4303, allocations: 0 / 1.111 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.006822/0.4372, allocations: 2.101 MB / 1.113 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.4373, allocations: 81.11 kB / 1.113 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.438, allocations: 0.5147 MB / 1.114 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.444e-05/0.4381, allocations: 33.7 kB / 1.114 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.4383, allocations: 328.3 kB / 1.114 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.4385, allocations: 142 kB / 1.114 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.441e-05/0.4386, allocations: 45.62 kB / 1.114 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4387, allocations: 362.8 kB / 1.114 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.4391, allocations: 173 kB / 1.115 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.4396, allocations: 291.2 kB / 1.115 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008377/0.4404, allocations: 475.2 kB / 1.115 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4404, allocations: 0 / 1.115 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001922/0.4423, allocations: 0.7473 MB / 1.116 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.4425, allocations: 184.4 kB / 1.116 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4425, allocations: 0 / 1.116 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.4436, allocations: 277.5 kB / 1.116 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.4439, allocations: 71.89 kB / 1.117 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006771/0.4507, allocations: 4.329 MB / 1.121 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.4519, allocations: 87.83 kB / 1.121 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.4519, allocations: 23.98 kB / 1.121 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.928e-06/0.452, allocations: 4 kB / 1.121 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001757/0.4537, allocations: 0.6535 MB / 1.121 GB, free: 4.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4537, allocations: 4 kB / 1.121 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009958/0.4547, allocations: 277.5 kB / 1.122 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.455, allocations: 67.91 kB / 1.122 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006394/0.4614, allocations: 4.351 MB / 1.126 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/0.4627, allocations: 79.83 kB / 1.126 GB, free: 15 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.4627, allocations: 20 kB / 1.126 GB, free: 14.98 MB / 0.8887 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.0004293/0.4632, allocations: 296.9 kB / 1.126 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.4633, allocations: 59.25 kB / 1.127 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.4652, allocations: 0.6567 MB / 1.127 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.228e-06/0.4652, allocations: 7.984 kB / 1.127 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.4652, allocations: 0 / 1.127 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001643/0.4668, allocations: 0.7488 MB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003272/0.4701, allocations: 1.698 MB / 1.13 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4701, allocations: 0 / 1.13 GB, free: 11.37 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.4704, allocations: 55.91 kB / 1.13 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/0.4714, allocations: 253.5 kB / 1.13 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.4715, allocations: 8 kB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005893/0.4774, allocations: 3.951 MB / 1.134 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4774, allocations: 0 / 1.134 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.4798, allocations: 0.954 MB / 1.135 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.4802, allocations: 192.3 kB / 1.135 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.4803, allocations: 12.06 kB / 1.135 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.4813, allocations: 71.83 kB / 1.135 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.4815, allocations: 35.89 kB / 1.135 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.4815, allocations: 11.98 kB / 1.135 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005735/0.4821, allocations: 370.8 kB / 1.135 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4821, allocations: 4 kB / 1.135 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001641/0.4837, allocations: 415.9 kB / 1.136 GB, free: 4.746 MB / 0.8887 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.0007345/0.4845, allocations: 305.3 kB / 1.136 GB, free: 4.449 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003247/0.4877, allocations: 1.354 MB / 1.137 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.4878, allocations: 4 kB / 1.137 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.4891, allocations: 0.5404 MB / 1.138 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.4911, allocations: 348.7 kB / 1.138 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.4936, allocations: 1.555 MB / 1.14 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.4942, allocations: 0.9185 MB / 1.141 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.4944, allocations: 51.42 kB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of SimCode: time 1.212e-06/0.4944, allocations: 3.938 kB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.02385/0.5183, allocations: 17.07 MB / 1.157 GB, free: 14.58 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches