Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 77.55 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 162 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.785/2.785, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 67.89 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.96/0.9621, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.01997/0.982, allocations: 24.38 MB / 1.178 GB, free: 16.89 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.9927, allocations: 6.632 MB / 1.184 GB, free: 12.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.994, allocations: 51.28 kB / 1.184 GB, free: 12.36 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.9951, allocations: 376.5 kB / 1.185 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.9986, allocations: 1.191 MB / 1.186 GB, free: 11.47 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/1.002, allocations: 0.9717 MB / 1.187 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003771/1.005, allocations: 2.136 MB / 1.189 GB, free: 9.953 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008074/1.006, allocations: 496.6 kB / 1.189 GB, free: 9.707 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/1.009, allocations: 0.873 MB / 1.19 GB, free: 9.316 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009087/1.01, allocations: 0.5442 MB / 1.191 GB, free: 9.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-05/1.01, allocations: 54.56 kB / 1.191 GB, free: 9.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/1.011, allocations: 0.6664 MB / 1.191 GB, free: 8.891 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002165/1.012, allocations: 174.4 kB / 1.192 GB, free: 8.789 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004101/1.012, allocations: 321.4 kB / 1.192 GB, free: 8.625 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00265/1.015, allocations: 1.241 MB / 1.193 GB, free: 8.172 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.015, allocations: 0 / 1.193 GB, free: 8.172 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.944e-06/1.015, allocations: 1.062 kB / 1.193 GB, free: 8.172 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.927e-05/1.015, allocations: 0 / 1.193 GB, free: 8.172 MB / 1.076 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.001907/1.017, allocations: 1.009 MB / 1.194 GB, free: 7.453 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.017, allocations: 10.78 kB / 1.194 GB, free: 7.453 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/1.017, allocations: 91 kB / 1.194 GB, free: 7.41 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/1.018, allocations: 0.6698 MB / 1.195 GB, free: 7.008 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/1.018, allocations: 55.8 kB / 1.195 GB, free: 6.973 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.861e-05/1.019, allocations: 50.3 kB / 1.195 GB, free: 6.953 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008546/1.019, allocations: 0.6489 MB / 1.196 GB, free: 6.508 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.019, allocations: 1.156 kB / 1.196 GB, free: 6.508 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/1.019, allocations: 22.14 kB / 1.196 GB, free: 6.492 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/1.02, allocations: 13.38 kB / 1.196 GB, free: 6.492 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005506/1.02, allocations: 316.4 kB / 1.196 GB, free: 6.383 MB / 1.076 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.002298/1.022, allocations: 1.88 MB / 1.198 GB, free: 5.027 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/1.023, allocations: 183.8 kB / 1.198 GB, free: 4.945 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/1.023, allocations: 88.16 kB / 1.198 GB, free: 4.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/1.023, allocations: 37.42 kB / 1.198 GB, free: 4.902 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/1.023, allocations: 37.53 kB / 1.198 GB, free: 4.859 MB / 1.076 GB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/1.023, allocations: 0 / 1.198 GB, free: 4.859 MB / 1.076 GB Notification: Performance of matching and sorting (n=22): time 0.0005528/1.024, allocations: 314.5 kB / 1.198 GB, free: 4.715 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/1.024, allocations: 55.22 kB / 1.198 GB, free: 4.652 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005743/1.024, allocations: 0.5269 MB / 1.199 GB, free: 4.402 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/1.024, allocations: 31.86 kB / 1.199 GB, free: 4.367 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/1.024, allocations: 353.9 kB / 1.199 GB, free: 4.082 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.166e-05/1.024, allocations: 85.09 kB / 1.199 GB, free: 4.016 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/1.025, allocations: 79.38 kB / 1.199 GB, free: 3.969 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/1.025, allocations: 363.9 kB / 1.2 GB, free: 3.633 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/1.025, allocations: 95.89 kB / 1.2 GB, free: 3.594 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/1.025, allocations: 345.1 kB / 1.2 GB, free: 3.254 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/1.025, allocations: 345.3 kB / 1.201 GB, free: 2.992 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.025, allocations: 1.344 kB / 1.201 GB, free: 2.992 MB / 1.076 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005594/1.026, allocations: 392.1 kB / 1.201 GB, free: 2.816 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/1.026, allocations: 7 kB / 1.201 GB, free: 2.816 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.026, allocations: 3.688 kB / 1.201 GB, free: 2.816 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.026, allocations: 7.969 kB / 1.201 GB, free: 2.816 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/1.026, allocations: 80.22 kB / 1.201 GB, free: 2.805 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.026, allocations: 11.88 kB / 1.201 GB, free: 2.801 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/1.027, allocations: 47.62 kB / 1.201 GB, free: 2.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/1.027, allocations: 18.97 kB / 1.201 GB, free: 2.766 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002792/1.027, allocations: 243.6 kB / 1.201 GB, free: 2.617 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000231/1.027, allocations: 336 kB / 1.202 GB, free: 2.285 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003427/1.028, allocations: 332.2 kB / 1.202 GB, free: 2.031 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.815e-06/1.028, allocations: 2.969 kB / 1.202 GB, free: 2.031 MB / 1.076 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005315/1.028, allocations: 388.1 kB / 1.202 GB, free: 1.859 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.028, allocations: 8.016 kB / 1.202 GB, free: 1.859 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.028, allocations: 4.875 kB / 1.202 GB, free: 1.859 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/1.028, allocations: 5.562 kB / 1.202 GB, free: 1.859 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/1.028, allocations: 80.69 kB / 1.202 GB, free: 1.848 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/1.028, allocations: 7.672 kB / 1.202 GB, free: 1.848 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/1.029, allocations: 34.98 kB / 1.202 GB, free: 1.828 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/1.029, allocations: 18.12 kB / 1.202 GB, free: 1.824 MB / 1.076 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 9.91e-05/1.029, allocations: 206 kB / 1.203 GB, free: 1.625 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.029, allocations: 58.52 kB / 1.203 GB, free: 1.594 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/1.029, allocations: 287.9 kB / 1.203 GB, free: 1.457 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/1.029, allocations: 2.969 kB / 1.203 GB, free: 1.457 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.029, allocations: 3.938 kB / 1.203 GB, free: 1.453 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003103/1.03, allocations: 380.6 kB / 1.203 GB, free: 1.145 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/1.031, allocations: 0.8376 MB / 1.204 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.031, allocations: 2.656 kB / 1.204 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/1.031, allocations: 52.19 kB / 1.204 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/1.031, allocations: 3.438 kB / 1.204 GB, free: 0.6172 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/1.031, allocations: 12.59 kB / 1.204 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/1.031, allocations: 4.875 kB / 1.204 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.031, allocations: 3.125 kB / 1.204 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/1.032, allocations: 0.5276 MB / 1.205 GB, free: 260 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/1.032, allocations: 87.27 kB / 1.205 GB, free: 212 kB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/1.032, allocations: 11.98 kB / 1.205 GB, free: 204 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/1.032, allocations: 16.14 kB / 1.205 GB, free: 200 kB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/1.032, allocations: 24.41 kB / 1.205 GB, free: 192 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/1.032, allocations: 19.61 kB / 1.205 GB, free: 188 kB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003921/1.033, allocations: 364.9 kB / 1.205 GB, free: 20 kB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.033, allocations: 0 / 1.205 GB, free: 20 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.001185/1.034, allocations: 373.8 kB / 1.206 GB, free: 15.93 MB / 1.092 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.0005259/1.034, allocations: 292.9 kB / 1.206 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006599/1.035, allocations: 397.8 kB / 1.206 GB, free: 15.64 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.035, allocations: 0 / 1.206 GB, free: 15.64 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/1.035, allocations: 104.3 kB / 1.206 GB, free: 15.6 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/1.037, allocations: 333.8 kB / 1.207 GB, free: 15.5 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/1.039, allocations: 1.097 MB / 1.208 GB, free: 14.8 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/1.039, allocations: 299.3 kB / 1.208 GB, free: 14.7 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005228/1.04, allocations: 151 kB / 1.208 GB, free: 14.66 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/1.04, allocations: 55.67 kB / 1.208 GB, free: 14.64 MB / 1.092 GB Notification: Performance of SimCode: time 4.51e-07/1.04, allocations: 0 / 1.208 GB, free: 14.64 MB / 1.092 GB Notification: Performance of Templates: time 0.02947/1.069, allocations: 12.46 MB / 1.22 GB, free: 13.04 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.354960664059035]