Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, 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.001668/0.001668, allocations: 200.5 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.374/1.374, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 74.11 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.339, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2234/0.5624, allocations: 186.2 MB / 1.235 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.5793, allocations: 11.17 MB / 1.245 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002018/0.5814, allocations: 43.69 kB / 1.246 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.5831, allocations: 433.7 kB / 1.246 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.6879/1.271, allocations: 2.416 MB / 1.248 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005926/1.277, allocations: 2.064 MB / 1.25 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005106/1.282, allocations: 4.001 MB / 1.254 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/1.283, allocations: 0.6636 MB / 1.255 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00189/1.285, allocations: 0.8459 MB / 1.256 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/1.288, allocations: 1.069 MB / 1.257 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002026/1.288, allocations: 51.31 kB / 1.257 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00712/1.295, allocations: 3.291 MB / 1.26 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008654/1.296, allocations: 390.1 kB / 1.26 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001134/1.297, allocations: 0.5384 MB / 1.261 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006565/1.304, allocations: 2.123 MB / 1.263 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.403e-05/1.304, allocations: 0 / 1.263 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.525e-06/1.304, allocations: 1.703 kB / 1.263 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.851e-05/1.304, allocations: 0.8438 kB / 1.263 GB, free: 3.426 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006795/1.311, allocations: 1.669 MB / 1.265 GB, free: 18.54 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/1.311, allocations: 14.03 kB / 1.265 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002198/1.313, allocations: 300.7 kB / 1.265 GB, free: 18.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/1.315, allocations: 0.7724 MB / 1.266 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/1.315, allocations: 51.06 kB / 1.266 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/1.315, allocations: 70.34 kB / 1.266 GB, free: 18.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/1.317, allocations: 0.9928 MB / 1.267 GB, free: 18.08 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.317, allocations: 0.6875 kB / 1.267 GB, free: 18.08 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/1.317, allocations: 34.39 kB / 1.267 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001448/1.317, allocations: 71.55 kB / 1.267 GB, free: 18.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/1.32, allocations: 1.012 MB / 1.268 GB, free: 18.06 MB / 1.014 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.007638/1.327, allocations: 3.575 MB / 1.271 GB, free: 16.73 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/1.329, allocations: 0.6623 MB / 1.272 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/1.329, allocations: 375.9 kB / 1.272 GB, free: 16.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/1.329, allocations: 198 kB / 1.273 GB, free: 16.51 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/1.33, allocations: 45.69 kB / 1.273 GB, free: 16.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 3.206e-06/1.33, allocations: 4 kB / 1.273 GB, free: 16.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=62): time 0.002133/1.332, allocations: 1.021 MB / 1.274 GB, free: 16.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/1.332, allocations: 110.5 kB / 1.274 GB, free: 16.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/1.333, allocations: 0.8019 MB / 1.274 GB, free: 16.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/1.333, allocations: 39.61 kB / 1.275 GB, free: 16.08 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/1.333, allocations: 423.7 kB / 1.275 GB, free: 15.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/1.334, allocations: 221.9 kB / 1.275 GB, free: 15.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/1.334, allocations: 146.2 kB / 1.275 GB, free: 15.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001488/1.334, allocations: 334 kB / 1.276 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/1.335, allocations: 339.7 kB / 1.276 GB, free: 15.43 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/1.335, allocations: 464.9 kB / 1.276 GB, free: 15.33 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.337, allocations: 0.7698 MB / 1.277 GB, free: 15.24 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.337, allocations: 1.125 kB / 1.277 GB, free: 15.24 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001626/1.338, allocations: 0.933 MB / 1.278 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/1.338, allocations: 10.19 kB / 1.278 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.338, allocations: 1.969 kB / 1.278 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.338, allocations: 6.594 kB / 1.278 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/1.339, allocations: 150.8 kB / 1.278 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/1.339, allocations: 5.688 kB / 1.278 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.34, allocations: 105.6 kB / 1.278 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/1.34, allocations: 30.69 kB / 1.278 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001122/1.341, allocations: 0.5381 MB / 1.279 GB, free: 15.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006327/1.342, allocations: 452.7 kB / 1.279 GB, free: 14.9 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001095/1.343, allocations: 0.7323 MB / 1.28 GB, free: 14.79 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.137e-06/1.343, allocations: 7.094 kB / 1.28 GB, free: 14.79 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001531/1.345, allocations: 0.8887 MB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.345, allocations: 12.03 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/1.345, allocations: 2.281 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/1.345, allocations: 6.531 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/1.345, allocations: 148.4 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/1.345, allocations: 8.062 kB / 1.281 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/1.347, allocations: 91.14 kB / 1.281 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/1.347, allocations: 29.22 kB / 1.281 GB, free: 14.66 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0003177/1.347, allocations: 222.8 kB / 1.281 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/1.347, allocations: 96.78 kB / 1.281 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/1.349, allocations: 0.8087 MB / 1.282 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/1.349, allocations: 7.031 kB / 1.282 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.349, allocations: 0 / 1.282 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001073/1.35, allocations: 0.7414 MB / 1.283 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/1.353, allocations: 2.096 MB / 1.285 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/1.353, allocations: 4.062 kB / 1.285 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006675/1.354, allocations: 133.8 kB / 1.285 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/1.354, allocations: 10.81 kB / 1.285 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/1.354, allocations: 19.42 kB / 1.285 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.467e-06/1.354, allocations: 5.5 kB / 1.285 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/1.354, allocations: 8.219 kB / 1.285 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/1.356, allocations: 1.357 MB / 1.287 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/1.357, allocations: 248.9 kB / 1.287 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/1.357, allocations: 24.86 kB / 1.287 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/1.358, allocations: 50.97 kB / 1.287 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.893e-05/1.358, allocations: 51.91 kB / 1.287 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/1.358, allocations: 25.31 kB / 1.287 GB, free: 13.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008202/1.359, allocations: 0.5602 MB / 1.287 GB, free: 13.16 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.71e-07/1.359, allocations: 2.906 kB / 1.287 GB, free: 13.16 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00263/1.361, allocations: 0.7442 MB / 1.288 GB, free: 13.05 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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 Backend phase and start with SimCode phase: time 0.001711/1.363, allocations: 0.537 MB / 1.289 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00193/1.365, allocations: 1.174 MB / 1.29 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.365, allocations: 320 / 1.29 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004769/1.365, allocations: 373.3 kB / 1.29 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.368, allocations: 0.5156 MB / 1.291 GB, free: 12.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/1.371, allocations: 2.302 MB / 1.293 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007033/1.372, allocations: 1.077 MB / 1.294 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/1.372, allocations: 81.8 kB / 1.294 GB, free: 10.9 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.372, allocations: 0 / 1.294 GB, free: 10.9 MB / 1.014 GB Notification: Performance of Templates: time 0.0315/1.404, allocations: 18.47 MB / 1.312 GB, free: 8.668 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches