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.001033/0.001033, allocations: 92.16 kB / 16.02 MB, free: 80 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.001332/0.001331, allocations: 183.4 kB / 16.92 MB, free: 6.922 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.328 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.497/2.497, allocations: 390.9 MB / 0.667 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 11.98 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7513, allocations: 142.4 MB / 0.9557 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02534/0.7767, allocations: 25.47 MB / 0.9806 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.7886, allocations: 7.097 MB / 0.9875 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.7907, allocations: 33.69 kB / 0.9875 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.7927, allocations: 314.6 kB / 0.9878 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005777/0.7985, allocations: 1.03 MB / 0.9889 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004452/0.803, allocations: 0.8544 MB / 0.9897 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006162/0.8092, allocations: 2.801 MB / 0.9924 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001576/0.8108, allocations: 0.5079 MB / 0.9929 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.8131, allocations: 0.6026 MB / 0.9935 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.8149, allocations: 0.5287 MB / 0.994 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002195/0.8151, allocations: 20 kB / 0.994 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003351/0.8185, allocations: 0.7796 MB / 0.9948 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003857/0.8189, allocations: 131.4 kB / 0.9949 GB, free: 7.039 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.8199, allocations: 363.8 kB / 0.9953 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.8222, allocations: 0.8846 MB / 0.9961 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8222, allocations: 0 / 0.9961 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.474e-06/0.8222, allocations: 4 kB / 0.9961 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.521e-05/0.8223, allocations: 0 / 0.9961 GB, free: 5.785 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.003019/0.8253, allocations: 0.9151 MB / 0.997 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.649e-05/0.8254, allocations: 8.031 kB / 0.997 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007311/0.8261, allocations: 91.94 kB / 0.9971 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.8284, allocations: 0.7372 MB / 0.9979 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.8285, allocations: 36.94 kB / 0.9979 GB, free: 3.906 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.8286, allocations: 44 kB / 0.9979 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.83, allocations: 0.504 MB / 0.9984 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/0.8301, allocations: 3.938 kB / 0.9984 GB, free: 3.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.193e-05/0.8302, allocations: 20 kB / 0.9984 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/0.8302, allocations: 16 kB / 0.9985 GB, free: 3.285 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009275/0.8312, allocations: 319.7 kB / 0.9988 GB, free: 2.977 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.004606/0.8358, allocations: 2.752 MB / 1.001 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.8363, allocations: 196.7 kB / 1.002 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.8365, allocations: 101.9 kB / 1.002 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/0.8369, allocations: 340.4 kB / 1.002 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.837, allocations: 38.88 kB / 1.002 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=22): time 2.464e-06/0.837, allocations: 0 / 1.002 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of matching and sorting (n=22): time 0.0008404/0.8379, allocations: 306.8 kB / 1.002 GB, free: 14.92 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.8379, allocations: 55.41 kB / 1.002 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.839, allocations: 0.5108 MB / 1.003 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/0.839, allocations: 33.7 kB / 1.003 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.8394, allocations: 343.5 kB / 1.003 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.8396, allocations: 78.84 kB / 1.003 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.8397, allocations: 37.7 kB / 1.003 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.8399, allocations: 362.8 kB / 1.004 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.8402, allocations: 95.83 kB / 1.004 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.8406, allocations: 226 kB / 1.004 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.8412, allocations: 345.8 kB / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.8412, allocations: 4 kB / 1.004 GB, free: 12.7 MB / 0.7637 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009641/0.8422, allocations: 394.5 kB / 1.005 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002277/0.8425, allocations: 205 kB / 1.005 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.8425, allocations: 4 kB / 1.005 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.8425, allocations: 4 kB / 1.005 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.843, allocations: 83.84 kB / 1.005 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.843, allocations: 15.92 kB / 1.005 GB, free: 11.94 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/0.8438, allocations: 55.58 kB / 1.005 GB, free: 11.88 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/0.8438, allocations: 19.98 kB / 1.005 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.8439, allocations: 7.938 kB / 1.005 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000714/0.8446, allocations: 308 kB / 1.005 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.8446, allocations: 4 kB / 1.005 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.8446, allocations: 12.5 kB / 1.005 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.845, allocations: 83.84 kB / 1.006 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.845, allocations: 4 kB / 1.006 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.8457, allocations: 47.66 kB / 1.006 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.8457, allocations: 23.98 kB / 1.006 GB, free: 11.38 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.0004314/0.8462, allocations: 288.8 kB / 1.006 GB, free: 11.09 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.8463, allocations: 55.34 kB / 1.006 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006672/0.847, allocations: 276 kB / 1.006 GB, free: 10.76 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.847, allocations: 4 kB / 1.006 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.847, allocations: 0 / 1.006 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005017/0.8475, allocations: 387.2 kB / 1.007 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.8498, allocations: 1.05 MB / 1.008 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8498, allocations: 4 kB / 1.008 GB, free: 9.172 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.8501, allocations: 56.19 kB / 1.008 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.8501, allocations: 4 kB / 1.008 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.8502, allocations: 11.94 kB / 1.008 GB, free: 9.102 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.8502, allocations: 15.92 kB / 1.008 GB, free: 9.086 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.8502, allocations: 0 / 1.008 GB, free: 9.086 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009116/0.8511, allocations: 0.5171 MB / 1.008 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.8515, allocations: 184.2 kB / 1.008 GB, free: 8.328 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.8516, allocations: 15.94 kB / 1.008 GB, free: 8.312 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.8523, allocations: 24.03 kB / 1.008 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.8523, allocations: 19.98 kB / 1.008 GB, free: 8.27 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.8524, allocations: 19.98 kB / 1.008 GB, free: 8.25 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007358/0.8531, allocations: 403.1 kB / 1.009 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8532, allocations: 0 / 1.009 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001594/0.8548, allocations: 343.2 kB / 1.009 GB, free: 7.516 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.0007797/0.8555, allocations: 301.3 kB / 1.009 GB, free: 7.223 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0006726/0.8562, allocations: 410.3 kB / 1.01 GB, free: 6.828 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8562, allocations: 4 kB / 1.01 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.8564, allocations: 104.3 kB / 1.01 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.8586, allocations: 375.6 kB / 1.01 GB, free: 6.363 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.8607, allocations: 1.38 MB / 1.012 GB, free: 4.922 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.8613, allocations: 0.8982 MB / 1.013 GB, free: 3.996 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.8614, allocations: 55.42 kB / 1.013 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of SimCode: time 2.61e-07/0.8614, allocations: 4 kB / 1.013 GB, free: 3.938 MB / 0.7637 GB Notification: Performance of Templates: time 0.01916/0.8806, allocations: 10.61 MB / 1.023 GB, free: 9.422 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