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.0009631/0.000963, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009455/0.0009455, allocations: 177.3 kB / 15.94 MB, free: 228 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.399/1.399, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.35/2.35, allocations: 390.2 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 11.98 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6866/0.6869, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity): time 0.02204/0.709, allocations: 20.69 MB / 0.9737 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009996/0.7191, allocations: 5.917 MB / 0.9795 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.7203, allocations: 31.91 kB / 0.9795 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.7218, allocations: 412.8 kB / 0.9799 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.7269, allocations: 1.389 MB / 0.9813 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003591/0.7305, allocations: 1.003 MB / 0.9822 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003205/0.7337, allocations: 1.273 MB / 0.9835 GB, free: 140 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008514/0.7346, allocations: 457.7 kB / 0.9839 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.736, allocations: 0.5175 MB / 0.9844 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006761/0.7366, allocations: 355.8 kB / 0.9848 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.518e-05/0.7367, allocations: 26.5 kB / 0.9848 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.7389, allocations: 0.6903 MB / 0.9855 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.7391, allocations: 118.7 kB / 0.9856 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002381/0.7393, allocations: 164.6 kB / 0.9857 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001473/0.7408, allocations: 0.9062 MB / 0.9866 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.7408, allocations: 0 / 0.9866 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7408, allocations: 0 / 0.9866 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.7408, allocations: 0 / 0.9866 GB, free: 14.18 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.001498/0.7423, allocations: 0.9344 MB / 0.9875 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.7424, allocations: 8.031 kB / 0.9875 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002343/0.7447, allocations: 286.7 kB / 0.9878 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.7461, allocations: 0.6468 MB / 0.9884 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.7461, allocations: 29 kB / 0.9885 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.7462, allocations: 51.95 kB / 0.9885 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008543/0.7471, allocations: 0.5164 MB / 0.989 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.7471, allocations: 4 kB / 0.989 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/0.7471, allocations: 20 kB / 0.9891 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.7472, allocations: 12 kB / 0.9891 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/0.7478, allocations: 359.7 kB / 0.9894 GB, free: 11.2 MB / 0.7481 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.002984/0.7508, allocations: 2.826 MB / 0.9922 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.7514, allocations: 304 kB / 0.9925 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005046/0.7519, allocations: 0.6534 MB / 0.9931 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.7519, allocations: 46.88 kB / 0.9931 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=28): time 2.235e-06/0.7519, allocations: 0 / 0.9931 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of matching and sorting (n=40): time 0.006381/0.7583, allocations: 2.074 MB / 0.9952 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.7584, allocations: 85.11 kB / 0.9952 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/0.7591, allocations: 0.5069 MB / 0.9957 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.7592, allocations: 33.7 kB / 0.9958 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.7594, allocations: 332.3 kB / 0.9961 GB, free: 3.836 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.7595, allocations: 142 kB / 0.9962 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.7596, allocations: 8 kB / 0.9962 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.7597, allocations: 366.8 kB / 0.9966 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.76, allocations: 161 kB / 0.9967 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.7605, allocations: 292 kB / 0.997 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.7609, allocations: 207.5 kB / 0.9972 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7609, allocations: 3.953 kB / 0.9972 GB, free: 2.625 MB / 0.7481 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001763/0.7627, allocations: 0.7282 MB / 0.9979 GB, free: 1.883 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000455/0.7631, allocations: 1.228 MB / 0.9991 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.7631, allocations: 4 kB / 0.9991 GB, free: 0.5547 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.7642, allocations: 281.5 kB / 0.9994 GB, free: 280 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003257/0.7645, allocations: 67.84 kB / 0.9995 GB, free: 212 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006417/0.771, allocations: 4.414 MB / 1.004 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.7722, allocations: 83.77 kB / 1.004 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.7723, allocations: 24.17 kB / 1.004 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.7723, allocations: 4 kB / 1.004 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001654/0.774, allocations: 0.653 MB / 1.005 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.774, allocations: 4 kB / 1.005 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009424/0.7749, allocations: 285.7 kB / 1.005 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.7752, allocations: 63.91 kB / 1.005 GB, free: 10.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006193/0.7814, allocations: 4.421 MB / 1.009 GB, free: 5.711 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.7826, allocations: 79.86 kB / 1.009 GB, free: 5.633 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.7827, allocations: 23.94 kB / 1.009 GB, free: 5.609 MB / 0.7637 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.0003986/0.7831, allocations: 285.6 kB / 1.01 GB, free: 5.32 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.7832, allocations: 63.25 kB / 1.01 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.7849, allocations: 0.6671 MB / 1.01 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/0.785, allocations: 4 kB / 1.01 GB, free: 4.578 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.785, allocations: 0 / 1.01 GB, free: 4.578 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001486/0.7865, allocations: 0.7531 MB / 1.011 GB, free: 3.77 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003127/0.7896, allocations: 1.69 MB / 1.013 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7896, allocations: 0 / 1.013 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.7899, allocations: 55.94 kB / 1.013 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009438/0.7908, allocations: 257.4 kB / 1.013 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.7909, allocations: 19.92 kB / 1.013 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/0.7964, allocations: 4.018 MB / 1.017 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7964, allocations: 0 / 1.017 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.7985, allocations: 0.9559 MB / 1.018 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003937/0.799, allocations: 192.3 kB / 1.018 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.279e-05/0.799, allocations: 15.94 kB / 1.018 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009584/0.8, allocations: 67.98 kB / 1.018 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.8002, allocations: 31.95 kB / 1.018 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.8002, allocations: 19.92 kB / 1.018 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005603/0.8008, allocations: 362.8 kB / 1.018 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8008, allocations: 4 kB / 1.018 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001721/0.8025, allocations: 411.9 kB / 1.019 GB, free: 11.31 MB / 0.7794 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.0007295/0.8032, allocations: 287.4 kB / 1.019 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003255/0.8065, allocations: 1.358 MB / 1.02 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.8065, allocations: 0 / 1.02 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.8078, allocations: 0.5403 MB / 1.021 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.8096, allocations: 338.9 kB / 1.021 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.8118, allocations: 1.524 MB / 1.023 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.8123, allocations: 0.9419 MB / 1.024 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0006104/0.8129, allocations: 135.1 kB / 1.024 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.813, allocations: 51.42 kB / 1.024 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of SimCode: time 9.62e-07/0.813, allocations: 3.938 kB / 1.024 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of Templates: time 0.03033/0.8434, allocations: 16.96 MB / 1.04 GB, free: 5.285 MB / 0.795 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","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches