Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.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.CoupledVolumesSpecializedWaterConstantProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 90.75 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.001645/0.001645, 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.483/1.483, allocations: 223.3 MB / 240 MB, free: 5.441 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.482/2.482, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 16 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7266/0.7269, allocations: 142.4 MB / 0.9544 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT): time 0.03781/0.7648, allocations: 34.47 MB / 0.9881 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.7761, allocations: 6.626 MB / 0.9946 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.7778, allocations: 31.75 kB / 0.9946 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.779, allocations: 282.2 kB / 0.9949 GB, free: 6.031 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.7822, allocations: 0.8959 MB / 0.9957 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/0.7847, allocations: 0.7351 MB / 0.9965 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003312/0.788, allocations: 2.401 MB / 0.9988 GB, free: 2.004 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00077/0.7888, allocations: 461.3 kB / 0.9992 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01714/0.8059, allocations: 9.344 MB / 1.008 GB, free: 8.195 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.8071, allocations: 0.4977 MB / 1.009 GB, free: 7.695 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.8072, allocations: 20 kB / 1.009 GB, free: 7.676 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/0.8221, allocations: 9.132 MB / 1.018 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.8225, allocations: 127.4 kB / 1.018 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.823, allocations: 161.3 kB / 1.018 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.8244, allocations: 0.865 MB / 1.019 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.8244, allocations: 4 kB / 1.019 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8244, allocations: 0 / 1.019 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.8244, allocations: 0 / 1.019 GB, free: 13.38 MB / 0.7794 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.001335/0.8257, allocations: 0.9228 MB / 1.02 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.8258, allocations: 8.031 kB / 1.02 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.8261, allocations: 87.06 kB / 1.02 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.8272, allocations: 0.71 MB / 1.021 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.8272, allocations: 36.95 kB / 1.021 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.8273, allocations: 44 kB / 1.021 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007602/0.8281, allocations: 0.4962 MB / 1.021 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.8281, allocations: 3.938 kB / 1.021 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.8282, allocations: 23.98 kB / 1.021 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.8282, allocations: 12 kB / 1.021 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004939/0.8287, allocations: 315.7 kB / 1.021 GB, free: 10.61 MB / 0.7794 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.002602/0.8313, allocations: 2.733 MB / 1.024 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.8316, allocations: 203 kB / 1.024 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.8317, allocations: 93.19 kB / 1.024 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/0.8321, allocations: 340.8 kB / 1.025 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.8321, allocations: 42.73 kB / 1.025 GB, free: 6.879 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.8321, allocations: 3.938 kB / 1.025 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of matching and sorting (n=21): time 0.0005208/0.8327, allocations: 292.6 kB / 1.025 GB, free: 6.586 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.8327, allocations: 63.34 kB / 1.025 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005534/0.8333, allocations: 0.5108 MB / 1.026 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.8333, allocations: 29.7 kB / 1.026 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.8335, allocations: 347.4 kB / 1.026 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.8336, allocations: 82.84 kB / 1.026 GB, free: 5.531 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.8336, allocations: 7.938 kB / 1.026 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8338, allocations: 362.8 kB / 1.026 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.8339, allocations: 87.91 kB / 1.027 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.8342, allocations: 222 kB / 1.027 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.8344, allocations: 129.9 kB / 1.027 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.8344, allocations: 4 kB / 1.027 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005492/0.8349, allocations: 384.6 kB / 1.027 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.8351, allocations: 214.8 kB / 1.027 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.8351, allocations: 4 kB / 1.027 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.8351, allocations: 8 kB / 1.027 GB, free: 4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.8354, allocations: 75.84 kB / 1.028 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.8354, allocations: 4 kB / 1.028 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.8357, allocations: 59.66 kB / 1.028 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.8358, allocations: 12 kB / 1.028 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.8358, allocations: 4 kB / 1.028 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004251/0.8362, allocations: 307.4 kB / 1.028 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8362, allocations: 4 kB / 1.028 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-06/0.8362, allocations: 7.953 kB / 1.028 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.8365, allocations: 80.39 kB / 1.028 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.8365, allocations: 12 kB / 1.028 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002738/0.8368, allocations: 47.67 kB / 1.028 GB, free: 3.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.8368, allocations: 12 kB / 1.028 GB, free: 3.387 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002507/0.8371, allocations: 288.7 kB / 1.028 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.8372, allocations: 55.34 kB / 1.028 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004765/0.8376, allocations: 272.7 kB / 1.029 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.8377, allocations: 7.953 kB / 1.029 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.8377, allocations: 0 / 1.029 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003448/0.838, allocations: 379.2 kB / 1.029 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.8394, allocations: 1.04 MB / 1.03 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8394, allocations: 0 / 1.03 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.8396, allocations: 55.91 kB / 1.03 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.8396, allocations: 4 kB / 1.03 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.8396, allocations: 8.25 kB / 1.03 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.8397, allocations: 4 kB / 1.03 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.8397, allocations: 7.938 kB / 1.03 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.8402, allocations: 0.505 MB / 1.031 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.8404, allocations: 188.2 kB / 1.031 GB, free: 392 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.8405, allocations: 4 kB / 1.031 GB, free: 388 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.8408, allocations: 35.94 kB / 1.031 GB, free: 352 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.8409, allocations: 19.92 kB / 1.031 GB, free: 332 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.8409, allocations: 23.98 kB / 1.031 GB, free: 308 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000436/0.8414, allocations: 399 kB / 1.031 GB, free: 15.91 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.8414, allocations: 0 / 1.031 GB, free: 15.91 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009422/0.8423, allocations: 339.3 kB / 1.032 GB, free: 15.57 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005709/0.8429, allocations: 275.9 kB / 1.032 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005797/0.8435, allocations: 388.3 kB / 1.032 GB, free: 14.93 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.8435, allocations: 4.625 kB / 1.032 GB, free: 14.92 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.8437, allocations: 103.9 kB / 1.032 GB, free: 14.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.8453, allocations: 373.9 kB / 1.033 GB, free: 14.46 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.8471, allocations: 1.358 MB / 1.034 GB, free: 13.05 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.8475, allocations: 0.8983 MB / 1.035 GB, free: 12.12 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005489/0.8481, allocations: 160.4 kB / 1.035 GB, free: 11.98 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.8482, allocations: 51.42 kB / 1.035 GB, free: 11.93 MB / 0.795 GB Notification: Performance of SimCode: time 4.41e-07/0.8482, allocations: 8 kB / 1.035 GB, free: 11.92 MB / 0.795 GB Notification: Performance of Templates: time 0.02149/0.8697, allocations: 11.84 MB / 1.047 GB, free: 308 kB / 0.795 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterConstantProperties_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterConstantProperties_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches