Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001339/0.001339, allocations: 103.7 kB / 16.41 MB, free: 6.5 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.001424/0.001424, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 63.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9612/0.9636, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2375/1.201, allocations: 187.9 MB / 1.272 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01596/1.217, allocations: 10.76 MB / 1.283 GB, free: 7 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/1.219, allocations: 39.75 kB / 1.283 GB, free: 6.961 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001623/1.22, allocations: 497 kB / 1.283 GB, free: 6.473 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00692/1.227, allocations: 2.583 MB / 1.286 GB, free: 3.879 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007112/1.234, allocations: 2.457 MB / 1.288 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004322/1.239, allocations: 2.77 MB / 1.291 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/1.24, allocations: 0.78 MB / 1.291 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002256/1.243, allocations: 1.02 MB / 1.292 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/1.245, allocations: 1.052 MB / 1.294 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0003718/1.246, allocations: 96 kB / 1.294 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006199/1.252, allocations: 3.013 MB / 1.297 GB, free: 8.668 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009098/1.253, allocations: 438.8 kB / 1.297 GB, free: 8.238 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00138/1.254, allocations: 0.5794 MB / 1.298 GB, free: 7.656 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.007213/1.261, allocations: 2.953 MB / 1.3 GB, free: 4.695 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.261, allocations: 0 / 1.3 GB, free: 4.695 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.844e-06/1.261, allocations: 0 / 1.3 GB, free: 4.695 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.768e-05/1.261, allocations: 0 / 1.3 GB, free: 4.695 MB / 1.029 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.004348/1.266, allocations: 1.674 MB / 1.302 GB, free: 2.969 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.266, allocations: 11.97 kB / 1.302 GB, free: 2.957 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/1.268, allocations: 298.4 kB / 1.302 GB, free: 2.664 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/1.27, allocations: 0.8273 MB / 1.303 GB, free: 1.797 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/1.27, allocations: 49.3 kB / 1.303 GB, free: 1.746 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/1.27, allocations: 67.98 kB / 1.303 GB, free: 1.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/1.272, allocations: 0.996 MB / 1.304 GB, free: 0.668 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/1.272, allocations: 3.984 kB / 1.304 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/1.272, allocations: 27.98 kB / 1.304 GB, free: 0.6367 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/1.272, allocations: 73.94 kB / 1.304 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/1.274, allocations: 1.011 MB / 1.305 GB, free: 15.55 MB / 1.045 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.006384/1.28, allocations: 3.574 MB / 1.309 GB, free: 11.74 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/1.281, allocations: 0.6658 MB / 1.309 GB, free: 11.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/1.282, allocations: 378.3 kB / 1.31 GB, free: 10.7 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002674/1.282, allocations: 194.8 kB / 1.31 GB, free: 10.47 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/1.282, allocations: 39.59 kB / 1.31 GB, free: 10.42 MB / 1.045 GB Notification: Performance of pre-optimization done (n=62): time 2.735e-06/1.282, allocations: 3.938 kB / 1.31 GB, free: 10.42 MB / 1.045 GB Notification: Performance of matching and sorting (n=62): time 0.002213/1.284, allocations: 1.025 MB / 1.311 GB, free: 9.387 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/1.284, allocations: 107.4 kB / 1.311 GB, free: 9.258 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/1.286, allocations: 0.8097 MB / 1.312 GB, free: 8.441 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.851e-05/1.286, allocations: 37.7 kB / 1.312 GB, free: 8.398 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/1.286, allocations: 428 kB / 1.312 GB, free: 7.973 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/1.287, allocations: 216.9 kB / 1.313 GB, free: 7.758 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/1.287, allocations: 142.6 kB / 1.313 GB, free: 7.613 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.287, allocations: 337.9 kB / 1.313 GB, free: 7.277 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005848/1.288, allocations: 336.7 kB / 1.313 GB, free: 6.945 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006849/1.288, allocations: 476.6 kB / 1.314 GB, free: 6.438 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.29, allocations: 0.7626 MB / 1.315 GB, free: 5.645 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.29, allocations: 0 / 1.315 GB, free: 5.645 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001715/1.291, allocations: 0.9372 MB / 1.315 GB, free: 4.699 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/1.291, allocations: 4 kB / 1.315 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.291, allocations: 4 kB / 1.315 GB, free: 4.691 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/1.291, allocations: 4 kB / 1.315 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/1.292, allocations: 155.8 kB / 1.316 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/1.292, allocations: 7.984 kB / 1.316 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009495/1.293, allocations: 95.44 kB / 1.316 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/1.293, allocations: 24 kB / 1.316 GB, free: 4.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008549/1.294, allocations: 0.537 MB / 1.316 GB, free: 3.871 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006389/1.295, allocations: 446.5 kB / 1.317 GB, free: 3.395 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001079/1.296, allocations: 0.7369 MB / 1.317 GB, free: 2.617 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.529e-06/1.296, allocations: 0 / 1.317 GB, free: 2.617 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00156/1.297, allocations: 0.8864 MB / 1.318 GB, free: 1.723 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.297, allocations: 8.281 kB / 1.318 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/1.297, allocations: 7.984 kB / 1.318 GB, free: 1.707 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/1.297, allocations: 8 kB / 1.318 GB, free: 1.699 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006624/1.298, allocations: 147.8 kB / 1.318 GB, free: 1.555 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/1.298, allocations: 4 kB / 1.318 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008146/1.299, allocations: 67.41 kB / 1.319 GB, free: 1.484 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/1.299, allocations: 28 kB / 1.319 GB, free: 1.457 MB / 1.045 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.0002341/1.299, allocations: 220.6 kB / 1.319 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/1.3, allocations: 90.97 kB / 1.319 GB, free: 1.145 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/1.301, allocations: 0.8188 MB / 1.32 GB, free: 328 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-06/1.301, allocations: 8 kB / 1.32 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.301, allocations: 0 / 1.32 GB, free: 320 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001003/1.302, allocations: 0.7361 MB / 1.32 GB, free: 15.54 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/1.305, allocations: 2.102 MB / 1.322 GB, free: 13.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.305, allocations: 7.938 kB / 1.322 GB, free: 13.33 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/1.306, allocations: 139.7 kB / 1.323 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/1.306, allocations: 4 kB / 1.323 GB, free: 13.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/1.306, allocations: 16 kB / 1.323 GB, free: 13.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/1.306, allocations: 8 kB / 1.323 GB, free: 13.17 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.306, allocations: 7.938 kB / 1.323 GB, free: 13.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/1.308, allocations: 1.356 MB / 1.324 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/1.308, allocations: 255.8 kB / 1.324 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/1.309, allocations: 16 kB / 1.324 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006477/1.309, allocations: 27.98 kB / 1.324 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/1.309, allocations: 48.27 kB / 1.324 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.823e-05/1.309, allocations: 23.98 kB / 1.324 GB, free: 11.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007315/1.31, allocations: 0.5537 MB / 1.325 GB, free: 10.81 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.41e-07/1.31, allocations: 0 / 1.325 GB, free: 10.81 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001779/1.312, allocations: 0.7489 MB / 1.326 GB, free: 10.06 MB / 1.061 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.001439/1.313, allocations: 0.5413 MB / 1.326 GB, free: 9.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001969/1.315, allocations: 1.187 MB / 1.327 GB, free: 8.336 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.315, allocations: 0 / 1.327 GB, free: 8.336 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005114/1.316, allocations: 370.1 kB / 1.328 GB, free: 7.973 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/1.318, allocations: 0.5387 MB / 1.328 GB, free: 7.453 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/1.322, allocations: 1.962 MB / 1.33 GB, free: 5.406 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/1.322, allocations: 1.073 MB / 1.331 GB, free: 4.305 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/1.323, allocations: 79.42 kB / 1.331 GB, free: 4.227 MB / 1.061 GB Notification: Performance of SimCode: time 6.91e-07/1.323, allocations: 4 kB / 1.331 GB, free: 4.223 MB / 1.061 GB Notification: Performance of Templates: time 0.02828/1.351, allocations: 18.58 MB / 1.349 GB, free: 1.762 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches