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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001587/0.001587, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.001538/0.001538, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.718/2.718, allocations: 482.2 MB / 0.7548 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002058, allocations: 64.28 kB / 0.9238 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7383/0.7404, allocations: 162.2 MB / 1.082 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2301/0.9705, allocations: 186 MB / 1.264 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.9881, allocations: 10.85 MB / 1.274 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.9899, allocations: 43.69 kB / 1.274 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.9914, allocations: 441.7 kB / 1.275 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006743/0.9982, allocations: 2.424 MB / 1.277 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00609/1.004, allocations: 2.257 MB / 1.279 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004061/1.008, allocations: 2.77 MB / 1.282 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/1.01, allocations: 0.7721 MB / 1.283 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002567/1.012, allocations: 1.211 MB / 1.284 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/1.015, allocations: 1.124 MB / 1.285 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002305/1.015, allocations: 96 kB / 1.285 GB, free: 14.69 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005898/1.021, allocations: 3.067 MB / 1.288 GB, free: 11.62 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0007491/1.022, allocations: 446.8 kB / 1.289 GB, free: 11.18 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009321/1.022, allocations: 0.5871 MB / 1.289 GB, free: 10.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004302/1.027, allocations: 2.121 MB / 1.291 GB, free: 8.465 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.027, allocations: 0 / 1.291 GB, free: 8.465 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.924e-06/1.027, allocations: 0 / 1.291 GB, free: 8.465 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.194e-05/1.027, allocations: 0 / 1.291 GB, free: 8.465 MB / 1.014 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.00416/1.031, allocations: 1.678 MB / 1.293 GB, free: 6.734 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/1.031, allocations: 8.031 kB / 1.293 GB, free: 6.727 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/1.033, allocations: 302.3 kB / 1.293 GB, free: 6.43 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/1.034, allocations: 0.7688 MB / 1.294 GB, free: 5.621 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/1.035, allocations: 57.3 kB / 1.294 GB, free: 5.562 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/1.035, allocations: 63.92 kB / 1.294 GB, free: 5.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/1.037, allocations: 1 MB / 1.295 GB, free: 4.48 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/1.037, allocations: 0 / 1.295 GB, free: 4.48 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.493e-05/1.037, allocations: 23.98 kB / 1.295 GB, free: 4.457 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/1.037, allocations: 77.95 kB / 1.295 GB, free: 4.383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/1.039, allocations: 1.015 MB / 1.296 GB, free: 3.363 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.006605/1.045, allocations: 3.642 MB / 1.3 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/1.046, allocations: 0.6621 MB / 1.3 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005959/1.047, allocations: 389.4 kB / 1.301 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/1.047, allocations: 194.8 kB / 1.301 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.047, allocations: 43.12 kB / 1.301 GB, free: 14.14 MB / 1.029 GB Notification: Performance of pre-optimization done (n=62): time 2.575e-06/1.047, allocations: 0 / 1.301 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=62): time 0.002127/1.049, allocations: 1.021 MB / 1.302 GB, free: 13.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/1.05, allocations: 111.4 kB / 1.302 GB, free: 12.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/1.051, allocations: 0.8097 MB / 1.303 GB, free: 12.17 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.83e-05/1.051, allocations: 37.7 kB / 1.303 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/1.051, allocations: 428 kB / 1.303 GB, free: 11.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/1.051, allocations: 220.8 kB / 1.304 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/1.052, allocations: 138.6 kB / 1.304 GB, free: 11.34 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.052, allocations: 334 kB / 1.304 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/1.052, allocations: 344.7 kB / 1.304 GB, free: 10.67 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007034/1.053, allocations: 464.7 kB / 1.305 GB, free: 10.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/1.054, allocations: 0.7587 MB / 1.306 GB, free: 9.395 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.054, allocations: 3.938 kB / 1.306 GB, free: 9.391 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001723/1.056, allocations: 0.945 MB / 1.306 GB, free: 8.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.056, allocations: 4 kB / 1.306 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.056, allocations: 4 kB / 1.306 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/1.056, allocations: 4 kB / 1.306 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/1.057, allocations: 151.8 kB / 1.307 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.336e-05/1.057, allocations: 7.938 kB / 1.307 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009318/1.058, allocations: 107.5 kB / 1.307 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.661e-05/1.058, allocations: 27.98 kB / 1.307 GB, free: 8.137 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000915/1.059, allocations: 0.537 MB / 1.307 GB, free: 7.594 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007013/1.06, allocations: 450.5 kB / 1.308 GB, free: 7.113 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001182/1.061, allocations: 0.7409 MB / 1.308 GB, free: 6.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.238e-06/1.061, allocations: 0 / 1.308 GB, free: 6.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001655/1.063, allocations: 0.8903 MB / 1.309 GB, free: 5.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/1.063, allocations: 8 kB / 1.309 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.063, allocations: 8 kB / 1.309 GB, free: 5.422 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/1.063, allocations: 4.281 kB / 1.309 GB, free: 5.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/1.063, allocations: 147.8 kB / 1.309 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.063, allocations: 7.938 kB / 1.309 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/1.064, allocations: 95.47 kB / 1.31 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/1.064, allocations: 27.94 kB / 1.31 GB, free: 5.145 MB / 1.029 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.0002824/1.065, allocations: 220.6 kB / 1.31 GB, free: 4.922 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/1.065, allocations: 94.88 kB / 1.31 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/1.066, allocations: 0.8033 MB / 1.311 GB, free: 4.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/1.066, allocations: 4 kB / 1.311 GB, free: 4.016 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.066, allocations: 4 kB / 1.311 GB, free: 4.012 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001134/1.068, allocations: 0.7438 MB / 1.311 GB, free: 3.238 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/1.071, allocations: 2.093 MB / 1.313 GB, free: 1.043 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.071, allocations: 7.938 kB / 1.313 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006888/1.072, allocations: 136.2 kB / 1.314 GB, free: 0.9023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/1.072, allocations: 8 kB / 1.314 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/1.072, allocations: 16 kB / 1.314 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/1.072, allocations: 8 kB / 1.314 GB, free: 0.8711 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/1.072, allocations: 4 kB / 1.314 GB, free: 0.8672 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/1.074, allocations: 1.363 MB / 1.315 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004882/1.075, allocations: 255.8 kB / 1.315 GB, free: 15.18 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/1.075, allocations: 16 kB / 1.315 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/1.076, allocations: 43.97 kB / 1.315 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.076, allocations: 44.31 kB / 1.315 GB, free: 15.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/1.076, allocations: 28 kB / 1.315 GB, free: 15.05 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009093/1.077, allocations: 0.5576 MB / 1.316 GB, free: 14.49 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.3e-07/1.077, allocations: 0 / 1.316 GB, free: 14.49 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002001/1.079, allocations: 0.7527 MB / 1.317 GB, free: 13.74 MB / 1.045 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.001584/1.08, allocations: 0.5378 MB / 1.317 GB, free: 13.2 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002651/1.083, allocations: 1.322 MB / 1.318 GB, free: 11.88 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.083, allocations: 0 / 1.318 GB, free: 11.88 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006261/1.084, allocations: 367.7 kB / 1.319 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/1.086, allocations: 0.5438 MB / 1.319 GB, free: 11 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003798/1.09, allocations: 2.294 MB / 1.322 GB, free: 8.625 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008962/1.091, allocations: 1.081 MB / 1.323 GB, free: 7.512 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/1.092, allocations: 79.38 kB / 1.323 GB, free: 7.434 MB / 1.045 GB Notification: Performance of SimCode: time 1.052e-06/1.092, allocations: 0 / 1.323 GB, free: 7.434 MB / 1.045 GB Notification: Performance of Templates: time 0.03103/1.123, allocations: 18.48 MB / 1.341 GB, free: 5.059 MB / 1.061 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