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.001579/0.001579, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001816/0.001816, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.445/2.445, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.78 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2899, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.6475/0.9374, allocations: 187.9 MB / 1.21 GB, free: 12.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01482/0.9523, allocations: 10.75 MB / 1.221 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.9534, allocations: 38.12 kB / 1.221 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.9547, allocations: 489.4 kB / 1.221 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.006096/0.9608, allocations: 2.585 MB / 1.224 GB, free: 1.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005638/0.9665, allocations: 2.458 MB / 1.226 GB, free: 280 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003487/0.97, allocations: 2.775 MB / 1.229 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.9711, allocations: 0.7792 MB / 1.23 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.9727, allocations: 0.9925 MB / 1.231 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.9746, allocations: 1.052 MB / 1.232 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.9747, allocations: 100 kB / 1.232 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005648/0.9804, allocations: 3.005 MB / 1.235 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004575/0.9809, allocations: 442.8 kB / 1.235 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006094/0.9815, allocations: 0.5833 MB / 1.236 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004515/0.986, allocations: 2.953 MB / 1.238 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.986, allocations: 0 / 1.238 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.042e-06/0.986, allocations: 0 / 1.238 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.9861, allocations: 0 / 1.238 GB, free: 4.547 MB / 0.9356 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.003416/0.9895, allocations: 1.674 MB / 1.24 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.9895, allocations: 8.031 kB / 1.24 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.9913, allocations: 290.4 kB / 1.24 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.9927, allocations: 0.8351 MB / 1.241 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.556e-05/0.9928, allocations: 49.3 kB / 1.241 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.9929, allocations: 71.89 kB / 1.241 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.9944, allocations: 0.996 MB / 1.242 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.9944, allocations: 0 / 1.242 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.562e-05/0.9945, allocations: 31.98 kB / 1.242 GB, free: 496 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.466e-05/0.9946, allocations: 73.94 kB / 1.242 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.9962, allocations: 1.007 MB / 1.243 GB, free: 15.4 MB / 0.9512 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.005654/1.002, allocations: 3.575 MB / 1.247 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/1.003, allocations: 0.6693 MB / 1.248 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005354/1.003, allocations: 375.1 kB / 1.248 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/1.004, allocations: 194.8 kB / 1.248 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/1.004, allocations: 39.5 kB / 1.248 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=62): time 1.993e-06/1.004, allocations: 4 kB / 1.248 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=62): time 0.001821/1.006, allocations: 1.029 MB / 1.249 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.006, allocations: 111.4 kB / 1.249 GB, free: 9.109 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009033/1.007, allocations: 0.7942 MB / 1.25 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.687e-05/1.007, allocations: 41.7 kB / 1.25 GB, free: 8.262 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/1.007, allocations: 428 kB / 1.25 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/1.007, allocations: 216.8 kB / 1.251 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/1.007, allocations: 146.6 kB / 1.251 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.008, allocations: 330 kB / 1.251 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/1.008, allocations: 344.7 kB / 1.251 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/1.009, allocations: 468.7 kB / 1.252 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/1.01, allocations: 0.7676 MB / 1.253 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.01, allocations: 4 kB / 1.253 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001435/1.011, allocations: 0.9294 MB / 1.254 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.011, allocations: 12.28 kB / 1.254 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.011, allocations: 0 / 1.254 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1.011, allocations: 8 kB / 1.254 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/1.012, allocations: 147.8 kB / 1.254 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.012, allocations: 4 kB / 1.254 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/1.013, allocations: 83.19 kB / 1.254 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/1.013, allocations: 32.81 kB / 1.254 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007465/1.014, allocations: 0.537 MB / 1.254 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005751/1.014, allocations: 446.5 kB / 1.255 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00102/1.015, allocations: 0.7369 MB / 1.256 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/1.015, allocations: 0 / 1.256 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001341/1.016, allocations: 0.8942 MB / 1.256 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.017, allocations: 10.5 kB / 1.256 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.017, allocations: 7.984 kB / 1.256 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/1.017, allocations: 4 kB / 1.256 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/1.017, allocations: 147.8 kB / 1.257 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/1.017, allocations: 4.281 kB / 1.257 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/1.018, allocations: 76.64 kB / 1.257 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/1.018, allocations: 32 kB / 1.257 GB, free: 1.324 MB / 0.9512 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.0001832/1.018, allocations: 216.1 kB / 1.257 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/1.018, allocations: 94.89 kB / 1.257 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/1.02, allocations: 0.8081 MB / 1.258 GB, free: 200 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/1.02, allocations: 8 kB / 1.258 GB, free: 192 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.02, allocations: 4 kB / 1.258 GB, free: 188 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/1.021, allocations: 0.7478 MB / 1.258 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/1.024, allocations: 2.089 MB / 1.261 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.024, allocations: 4 kB / 1.261 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/1.024, allocations: 143.7 kB / 1.261 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/1.024, allocations: 4.438 kB / 1.261 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/1.024, allocations: 20 kB / 1.261 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/1.024, allocations: 8 kB / 1.261 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/1.024, allocations: 7.938 kB / 1.261 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/1.026, allocations: 1.356 MB / 1.262 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004177/1.027, allocations: 255.8 kB / 1.262 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.027, allocations: 16 kB / 1.262 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005652/1.027, allocations: 25.61 kB / 1.262 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/1.028, allocations: 48.27 kB / 1.262 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/1.028, allocations: 27.92 kB / 1.262 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006475/1.028, allocations: 0.5576 MB / 1.263 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/1.028, allocations: 0 / 1.263 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001622/1.03, allocations: 0.7528 MB / 1.264 GB, free: 9.926 MB / 0.9669 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.001139/1.031, allocations: 0.5422 MB / 1.264 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001793/1.033, allocations: 1.178 MB / 1.265 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.033, allocations: 1.125 kB / 1.265 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005032/1.033, allocations: 374.7 kB / 1.266 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.035, allocations: 0.5319 MB / 1.266 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/1.038, allocations: 1.902 MB / 1.268 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/1.039, allocations: 1.081 MB / 1.269 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001094/1.04, allocations: 418.6 kB / 1.27 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/1.04, allocations: 75.44 kB / 1.27 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of SimCode: time 3.9e-07/1.04, allocations: 0 / 1.27 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of Templates: time 0.03329/1.073, allocations: 22.81 MB / 1.292 GB, free: 13.14 MB / 0.9981 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 -s gbode -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