Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001517, allocations: 100.1 kB / 15.88 MB, free: 12 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.001769/0.001769, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.401/1.401, allocations: 222.9 MB / 240.5 MB, free: 4.523 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.389/2.389, allocations: 390.2 MB / 0.6649 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 63.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.728, allocations: 140.3 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02686/0.7549, allocations: 26.16 MB / 0.9751 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01168/0.7666, allocations: 7.178 MB / 0.9821 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.7684, allocations: 31.91 kB / 0.9822 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/0.7696, allocations: 324.3 kB / 0.9825 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.7731, allocations: 1.031 MB / 0.9835 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.7758, allocations: 0.8532 MB / 0.9843 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003713/0.7795, allocations: 2.807 MB / 0.987 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008368/0.7804, allocations: 0.5213 MB / 0.9876 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001236/0.7816, allocations: 0.6049 MB / 0.9881 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006959/0.7823, allocations: 0.5557 MB / 0.9887 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.868e-05/0.7824, allocations: 28 kB / 0.9887 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001692/0.7841, allocations: 0.7835 MB / 0.9895 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.7843, allocations: 147.4 kB / 0.9896 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003571/0.7847, allocations: 354.1 kB / 0.99 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.7857, allocations: 0.9081 MB / 0.9908 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7857, allocations: 0 / 0.9908 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7858, allocations: 4 kB / 0.9908 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.7858, allocations: 0 / 0.9908 GB, free: 7.758 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.001624/0.7874, allocations: 1.055 MB / 0.9919 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.7874, allocations: 8.031 kB / 0.9919 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/0.7878, allocations: 84.09 kB / 0.992 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.7889, allocations: 0.7256 MB / 0.9927 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.789, allocations: 36.94 kB / 0.9927 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.295e-05/0.789, allocations: 48 kB / 0.9928 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007982/0.7899, allocations: 0.4962 MB / 0.9932 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.7899, allocations: 4 kB / 0.9932 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.7899, allocations: 16 kB / 0.9933 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.79, allocations: 16 kB / 0.9933 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005226/0.7905, allocations: 327.6 kB / 0.9936 GB, free: 4.824 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.002673/0.7932, allocations: 2.744 MB / 0.9963 GB, free: 1.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.7935, allocations: 191.9 kB / 0.9964 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.7936, allocations: 100.8 kB / 0.9965 GB, free: 1.543 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003202/0.794, allocations: 344.5 kB / 0.9969 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.794, allocations: 42.88 kB / 0.9969 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.794, allocations: 4 kB / 0.9969 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.0005638/0.7946, allocations: 306.7 kB / 0.9972 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.7946, allocations: 51.41 kB / 0.9973 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000553/0.7952, allocations: 0.5147 MB / 0.9978 GB, free: 192 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.7952, allocations: 29.7 kB / 0.9978 GB, free: 156 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.7955, allocations: 347.4 kB / 0.9981 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.7956, allocations: 82.75 kB / 0.9982 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.7957, allocations: 81.59 kB / 0.9983 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7959, allocations: 362.8 kB / 0.9986 GB, free: 15.28 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.796, allocations: 100.8 kB / 0.9987 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.7963, allocations: 229.9 kB / 0.9989 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.7967, allocations: 341.9 kB / 0.9993 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.7967, allocations: 0 / 0.9993 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005582/0.7973, allocations: 390.5 kB / 0.9996 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7973, allocations: 8 kB / 0.9996 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7973, allocations: 4.562 kB / 0.9997 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.7973, allocations: 8 kB / 0.9997 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.7976, allocations: 87.84 kB / 0.9997 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.7976, allocations: 11.92 kB / 0.9998 GB, free: 13.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.798, allocations: 59.59 kB / 0.9998 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.7981, allocations: 23.98 kB / 0.9998 GB, free: 13.91 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002947/0.7984, allocations: 244 kB / 1 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002403/0.7986, allocations: 242.5 kB / 1 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003689/0.799, allocations: 325.8 kB / 1.001 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.286e-06/0.799, allocations: 7.938 kB / 1.001 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005443/0.7995, allocations: 383.8 kB / 1.001 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.7996, allocations: 11.94 kB / 1.001 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.7996, allocations: 4 kB / 1.001 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.7996, allocations: 8 kB / 1.001 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.7998, allocations: 76.47 kB / 1.001 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.7998, allocations: 19.86 kB / 1.001 GB, free: 12.49 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/0.8002, allocations: 47.73 kB / 1.001 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.8002, allocations: 12 kB / 1.001 GB, free: 12.43 MB / 0.7637 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.8004, allocations: 208.1 kB / 1.001 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.8005, allocations: 59.34 kB / 1.001 GB, free: 12.16 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.8009, allocations: 274.6 kB / 1.002 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.801, allocations: 7.938 kB / 1.002 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.801, allocations: 96 / 1.002 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003462/0.8013, allocations: 383.2 kB / 1.002 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.8027, allocations: 1.051 MB / 1.003 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.8027, allocations: 0 / 1.003 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.803, allocations: 55.91 kB / 1.003 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.803, allocations: 4.281 kB / 1.003 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.803, allocations: 12 kB / 1.003 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.803, allocations: 4 kB / 1.003 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.803, allocations: 4 kB / 1.003 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.8037, allocations: 0.522 MB / 1.004 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.8039, allocations: 168.2 kB / 1.004 GB, free: 9.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.8039, allocations: 11.98 kB / 1.004 GB, free: 9.457 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/0.8043, allocations: 31.95 kB / 1.004 GB, free: 9.426 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.8044, allocations: 27.84 kB / 1.004 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.8044, allocations: 19.98 kB / 1.004 GB, free: 9.379 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004294/0.8048, allocations: 395.1 kB / 1.004 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8048, allocations: 0 / 1.004 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009904/0.8058, allocations: 347.3 kB / 1.005 GB, free: 8.648 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007396/0.8066, allocations: 308.2 kB / 1.005 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006697/0.8073, allocations: 407.5 kB / 1.005 GB, free: 7.953 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8073, allocations: 0 / 1.005 GB, free: 7.953 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.8074, allocations: 110 kB / 1.005 GB, free: 7.848 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.8092, allocations: 368.2 kB / 1.006 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.811, allocations: 1.343 MB / 1.007 GB, free: 6.094 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004471/0.8115, allocations: 0.8905 MB / 1.008 GB, free: 5.176 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.8116, allocations: 59.42 kB / 1.008 GB, free: 5.117 MB / 0.7637 GB Notification: Performance of SimCode: time 2.053e-06/0.8116, allocations: 3.938 kB / 1.008 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of Templates: time 0.01587/0.8275, allocations: 10.69 MB / 1.018 GB, free: 10.52 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches