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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001479/0.001479, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001218/0.001219, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.2 MB / 0.6643 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.89 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.6851, allocations: 140.3 MB / 0.9491 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02658/0.7117, allocations: 26.1 MB / 0.9746 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01203/0.7238, allocations: 7.089 MB / 0.9815 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.726, allocations: 31.47 kB / 0.9815 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.7276, allocations: 334.4 kB / 0.9819 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004465/0.7321, allocations: 1.034 MB / 0.9829 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.735, allocations: 0.8725 MB / 0.9837 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003518/0.7385, allocations: 2.104 MB / 0.9858 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.7396, allocations: 0.6081 MB / 0.9864 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002695/0.7424, allocations: 0.7254 MB / 0.9871 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.7437, allocations: 0.5618 MB / 0.9876 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.7439, allocations: 53.34 kB / 0.9877 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.7461, allocations: 0.8198 MB / 0.9885 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.7463, allocations: 163.4 kB / 0.9886 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005878/0.7469, allocations: 390.1 kB / 0.989 GB, free: 9.113 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.7488, allocations: 1.196 MB / 0.9902 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7488, allocations: 4 kB / 0.9902 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7489, allocations: 7.938 kB / 0.9902 GB, free: 7.902 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.7489, allocations: 0 / 0.9902 GB, free: 7.902 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.7504, allocations: 1.059 MB / 0.9912 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.7504, allocations: 8.031 kB / 0.9912 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003046/0.7507, allocations: 80.09 kB / 0.9913 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.7519, allocations: 0.7295 MB / 0.992 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.7519, allocations: 40.94 kB / 0.992 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.453e-05/0.752, allocations: 48 kB / 0.9921 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008185/0.7528, allocations: 0.5001 MB / 0.9926 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.7529, allocations: 0 / 0.9926 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.7529, allocations: 19.98 kB / 0.9926 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.753, allocations: 15.94 kB / 0.9926 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.7535, allocations: 323.8 kB / 0.9929 GB, free: 4.965 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.002843/0.7563, allocations: 2.744 MB / 0.9956 GB, free: 1.977 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.7567, allocations: 190.5 kB / 0.9958 GB, free: 1.781 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.7568, allocations: 104.7 kB / 0.9959 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.7572, allocations: 340.5 kB / 0.9962 GB, free: 1.27 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.7572, allocations: 42.88 kB / 0.9963 GB, free: 1.219 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=22): time 1.834e-06/0.7572, allocations: 3.938 kB / 0.9963 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22): time 0.0005884/0.7578, allocations: 302.4 kB / 0.9965 GB, free: 0.9141 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.7578, allocations: 51.41 kB / 0.9966 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.7584, allocations: 0.5186 MB / 0.9971 GB, free: 332 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.7584, allocations: 29.7 kB / 0.9971 GB, free: 296 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.7587, allocations: 351.5 kB / 0.9975 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.7588, allocations: 82.84 kB / 0.9975 GB, free: 15.85 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.7589, allocations: 73.59 kB / 0.9976 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.759, allocations: 362.8 kB / 0.998 GB, free: 15.41 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.7592, allocations: 100.7 kB / 0.9981 GB, free: 15.31 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.7594, allocations: 234 kB / 0.9983 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.7598, allocations: 337.9 kB / 0.9986 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7598, allocations: 0 / 0.9986 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005695/0.7604, allocations: 394.5 kB / 0.999 GB, free: 14.24 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.7605, allocations: 9.875 kB / 0.999 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.7605, allocations: 4 kB / 0.999 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.7605, allocations: 8 kB / 0.999 GB, free: 14.22 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.7608, allocations: 75.91 kB / 0.9991 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.7608, allocations: 11.92 kB / 0.9991 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.7612, allocations: 56.05 kB / 0.9991 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.7613, allocations: 23.98 kB / 0.9992 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003097/0.7616, allocations: 248 kB / 0.9994 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002446/0.7619, allocations: 238.6 kB / 0.9996 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003968/0.7623, allocations: 333.8 kB / 0.9999 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.089e-06/0.7623, allocations: 7.922 kB / 0.9999 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005309/0.7628, allocations: 392.2 kB / 1 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 9.006e-06/0.7628, allocations: 4 kB / 1 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7628, allocations: 4 kB / 1 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.442e-06/0.7628, allocations: 8 kB / 1 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.7631, allocations: 75.91 kB / 1 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.7631, allocations: 19.86 kB / 1 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.7635, allocations: 43.89 kB / 1 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.7635, allocations: 16.09 kB / 1 GB, free: 12.57 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.0001379/0.7637, allocations: 212.1 kB / 1.001 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.7638, allocations: 59.33 kB / 1.001 GB, free: 12.29 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.7643, allocations: 270.7 kB / 1.001 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.7643, allocations: 15.88 kB / 1.001 GB, free: 12 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7643, allocations: 0 / 1.001 GB, free: 12 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003449/0.7646, allocations: 379 kB / 1.001 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.7661, allocations: 1.053 MB / 1.002 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7661, allocations: 0 / 1.002 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.7663, allocations: 55.91 kB / 1.002 GB, free: 10.38 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.7663, allocations: 4 kB / 1.002 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.7664, allocations: 12 kB / 1.002 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.7664, allocations: 3.938 kB / 1.002 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.7664, allocations: 4 kB / 1.002 GB, free: 10.35 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006054/0.767, allocations: 0.5317 MB / 1.003 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.7672, allocations: 168.2 kB / 1.003 GB, free: 9.594 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.7673, allocations: 11.98 kB / 1.003 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.7677, allocations: 23.98 kB / 1.003 GB, free: 9.559 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.7677, allocations: 27.97 kB / 1.003 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.7677, allocations: 15.98 kB / 1.003 GB, free: 9.516 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000436/0.7682, allocations: 399.1 kB / 1.004 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7682, allocations: 0 / 1.004 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009893/0.7692, allocations: 347.2 kB / 1.004 GB, free: 8.781 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.0006809/0.7699, allocations: 313.4 kB / 1.004 GB, free: 8.477 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006642/0.7705, allocations: 420.9 kB / 1.005 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7706, allocations: 4.062 kB / 1.005 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.7707, allocations: 107.8 kB / 1.005 GB, free: 7.961 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.7724, allocations: 379.7 kB / 1.005 GB, free: 7.605 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.7742, allocations: 1.307 MB / 1.006 GB, free: 6.242 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.7747, allocations: 0.8941 MB / 1.007 GB, free: 5.32 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005592/0.7752, allocations: 153.1 kB / 1.007 GB, free: 5.172 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.7754, allocations: 59.42 kB / 1.007 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of SimCode: time 4.61e-07/0.7754, allocations: 0 / 1.007 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of Templates: time 0.02141/0.7968, allocations: 12.58 MB / 1.02 GB, free: 8.719 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