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.000912/0.000912, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001039/0.001039, allocations: 168.7 kB / 15.95 MB, free: 204 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.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.383 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.421/2.421, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003629, allocations: 12 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7223/0.7227, allocations: 142.4 MB / 0.9544 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02279/0.7456, allocations: 24.14 MB / 0.978 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009807/0.7554, allocations: 6.671 MB / 0.9845 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.7565, allocations: 33.25 kB / 0.9846 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008645/0.7574, allocations: 280.1 kB / 0.9848 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.7598, allocations: 0.8947 MB / 0.9857 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.762, allocations: 0.7381 MB / 0.9864 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002886/0.7649, allocations: 2.371 MB / 0.9887 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007315/0.7656, allocations: 468.6 kB / 0.9892 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.7666, allocations: 0.5834 MB / 0.9897 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000648/0.7673, allocations: 0.4977 MB / 0.9902 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 5.98e-05/0.7674, allocations: 20 kB / 0.9903 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00136/0.7687, allocations: 0.6197 MB / 0.9909 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.7689, allocations: 123.5 kB / 0.991 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.769, allocations: 165.3 kB / 0.9911 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009381/0.77, allocations: 0.867 MB / 0.992 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.77, allocations: 0 / 0.992 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.856e-06/0.77, allocations: 0 / 0.992 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.77, allocations: 3.938 kB / 0.992 GB, free: 9.082 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.001257/0.7713, allocations: 0.9228 MB / 0.9929 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7713, allocations: 12.03 kB / 0.9929 GB, free: 8.098 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.7716, allocations: 83.06 kB / 0.993 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.7727, allocations: 0.7014 MB / 0.9937 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/0.7728, allocations: 33 kB / 0.9937 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.898e-05/0.7728, allocations: 55.84 kB / 0.9937 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007677/0.7736, allocations: 0.5039 MB / 0.9942 GB, free: 6.645 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.7736, allocations: 4 kB / 0.9942 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.7737, allocations: 20 kB / 0.9943 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.7737, allocations: 15.98 kB / 0.9943 GB, free: 6.605 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.7742, allocations: 319.7 kB / 0.9946 GB, free: 6.297 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.002629/0.7769, allocations: 2.737 MB / 0.9973 GB, free: 3.316 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.7772, allocations: 191 kB / 0.9974 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.7773, allocations: 97.19 kB / 0.9975 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003077/0.7776, allocations: 352.5 kB / 0.9979 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.7777, allocations: 34.75 kB / 0.9979 GB, free: 2.562 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.7777, allocations: 0 / 0.9979 GB, free: 2.562 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.0005132/0.7782, allocations: 308.7 kB / 0.9982 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.7783, allocations: 59.41 kB / 0.9982 GB, free: 2.188 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005786/0.7788, allocations: 0.5069 MB / 0.9987 GB, free: 1.672 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.7789, allocations: 29.7 kB / 0.9988 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.7791, allocations: 347.3 kB / 0.9991 GB, free: 1.293 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.732e-05/0.7792, allocations: 86.92 kB / 0.9992 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.7792, allocations: 4 kB / 0.9992 GB, free: 1.203 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.7794, allocations: 366.8 kB / 0.9995 GB, free: 0.8359 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.7795, allocations: 87.91 kB / 0.9996 GB, free: 0.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.7798, allocations: 229.9 kB / 0.9998 GB, free: 472 kB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.78, allocations: 129.8 kB / 1 GB, free: 344 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.78, allocations: 4 kB / 1 GB, free: 340 kB / 0.7481 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005479/0.7805, allocations: 380.5 kB / 1 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.7807, allocations: 219 kB / 1.001 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7807, allocations: 4 kB / 1.001 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.7807, allocations: 8 kB / 1.001 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.781, allocations: 79.89 kB / 1.001 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.781, allocations: 11.98 kB / 1.001 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.7814, allocations: 55.66 kB / 1.001 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.7814, allocations: 19.94 kB / 1.001 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-06/0.7814, allocations: 4 kB / 1.001 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004485/0.7819, allocations: 311.7 kB / 1.001 GB, free: 15.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.7819, allocations: 4 kB / 1.001 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.7819, allocations: 8 kB / 1.001 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.7822, allocations: 79.84 kB / 1.001 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.7822, allocations: 11.95 kB / 1.001 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.7825, allocations: 51.97 kB / 1.001 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.7825, allocations: 16 kB / 1.001 GB, free: 15.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002608/0.7828, allocations: 284.9 kB / 1.001 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.7829, allocations: 51.34 kB / 1.001 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004542/0.7833, allocations: 287.9 kB / 1.002 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.7834, allocations: 4 kB / 1.002 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7834, allocations: 7.891 kB / 1.002 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003697/0.7837, allocations: 387.6 kB / 1.002 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.7851, allocations: 1.047 MB / 1.003 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.7851, allocations: 4 kB / 1.003 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.7853, allocations: 55.91 kB / 1.003 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.7853, allocations: 4 kB / 1.003 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.7854, allocations: 4 kB / 1.003 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.7854, allocations: 4 kB / 1.003 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.7854, allocations: 3.984 kB / 1.003 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.786, allocations: 0.5295 MB / 1.004 GB, free: 12.17 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.7862, allocations: 184.2 kB / 1.004 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.7863, allocations: 8 kB / 1.004 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.7866, allocations: 32.03 kB / 1.004 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.7867, allocations: 19.92 kB / 1.004 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.7867, allocations: 15.98 kB / 1.004 GB, free: 11.89 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004393/0.7872, allocations: 399.1 kB / 1.004 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7872, allocations: 0 / 1.004 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009798/0.7882, allocations: 347.2 kB / 1.005 GB, free: 11.16 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 (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.0005306/0.7887, allocations: 278.6 kB / 1.005 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000608/0.7893, allocations: 398.1 kB / 1.005 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7893, allocations: 8.625 kB / 1.005 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.7895, allocations: 107.8 kB / 1.005 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.7912, allocations: 370.6 kB / 1.006 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.793, allocations: 1.37 MB / 1.007 GB, free: 8.605 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.7935, allocations: 0.8944 MB / 1.008 GB, free: 7.684 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005655/0.7941, allocations: 157 kB / 1.008 GB, free: 7.531 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.7942, allocations: 55.42 kB / 1.008 GB, free: 7.477 MB / 0.7637 GB Notification: Performance of SimCode: time 1.021e-06/0.7942, allocations: 0 / 1.008 GB, free: 7.477 MB / 0.7637 GB Notification: Performance of Templates: time 0.02051/0.8147, allocations: 11.86 MB / 1.02 GB, free: 11.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches