Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002048/0.002048, allocations: 201 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.87/2.87, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol1.T_start|vol1.T|vol1.ports.1..h_outflow|vol1.ports.2..h_outflow|pipe1.port_b.h_outflow",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.89 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2671/1.289, allocations: 188.8 MB / 1.458 GB, free: 6.984 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0198/1.309, allocations: 10.83 MB / 1.469 GB, free: 12.12 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/1.311, allocations: 39.75 kB / 1.469 GB, free: 12.08 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001781/1.312, allocations: 0.5087 MB / 1.47 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008205/1.321, allocations: 2.661 MB / 1.472 GB, free: 8.898 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.007333/1.328, allocations: 2.482 MB / 1.475 GB, free: 6.422 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00504/1.333, allocations: 2.78 MB / 1.477 GB, free: 3.637 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/1.334, allocations: 0.6161 MB / 1.478 GB, free: 3.012 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/1.337, allocations: 1.028 MB / 1.479 GB, free: 1.98 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/1.34, allocations: 1.16 MB / 1.48 GB, free: 0.8203 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002512/1.34, allocations: 96 kB / 1.48 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007453/1.348, allocations: 3.122 MB / 1.483 GB, free: 13.6 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008818/1.349, allocations: 454.6 kB / 1.484 GB, free: 13.15 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001408/1.35, allocations: 0.5794 MB / 1.484 GB, free: 12.57 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.008415/1.358, allocations: 2.967 MB / 1.487 GB, free: 9.594 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.358, allocations: 0 / 1.487 GB, free: 9.594 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.844e-06/1.358, allocations: 0 / 1.487 GB, free: 9.594 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.654e-05/1.358, allocations: 0 / 1.487 GB, free: 9.594 MB / 1.186 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.00582/1.364, allocations: 1.718 MB / 1.489 GB, free: 7.816 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/1.364, allocations: 12.03 kB / 1.489 GB, free: 7.805 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/1.367, allocations: 299 kB / 1.489 GB, free: 7.512 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/1.369, allocations: 0.8436 MB / 1.49 GB, free: 6.625 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.518e-05/1.369, allocations: 49.3 kB / 1.49 GB, free: 6.578 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/1.369, allocations: 63.98 kB / 1.49 GB, free: 6.516 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/1.371, allocations: 0.9922 MB / 1.491 GB, free: 5.508 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/1.371, allocations: 4 kB / 1.491 GB, free: 5.504 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/1.371, allocations: 27.98 kB / 1.491 GB, free: 5.477 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/1.371, allocations: 73.94 kB / 1.491 GB, free: 5.402 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/1.373, allocations: 1.015 MB / 1.492 GB, free: 4.391 MB / 1.186 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.007342/1.38, allocations: 3.579 MB / 1.496 GB, free: 0.5742 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/1.381, allocations: 0.6376 MB / 1.496 GB, free: 15.93 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/1.382, allocations: 359.4 kB / 1.497 GB, free: 15.58 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/1.382, allocations: 194.8 kB / 1.497 GB, free: 15.35 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/1.382, allocations: 43.12 kB / 1.497 GB, free: 15.3 MB / 1.201 GB Notification: Performance of pre-optimization done (n=62): time 4.037e-06/1.382, allocations: 0 / 1.497 GB, free: 15.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=62): time 0.002329/1.385, allocations: 1.029 MB / 1.498 GB, free: 14.27 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.385, allocations: 111.4 kB / 1.498 GB, free: 14.13 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.386, allocations: 0.8019 MB / 1.499 GB, free: 13.32 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-05/1.386, allocations: 37.7 kB / 1.499 GB, free: 13.28 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/1.386, allocations: 432.7 kB / 1.499 GB, free: 12.85 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000281/1.387, allocations: 234 kB / 1.499 GB, free: 12.62 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002795/1.387, allocations: 142.6 kB / 1.499 GB, free: 12.48 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001964/1.387, allocations: 337.9 kB / 1.5 GB, free: 12.14 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005857/1.388, allocations: 336.7 kB / 1.5 GB, free: 11.81 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007555/1.389, allocations: 468.7 kB / 1.501 GB, free: 11.32 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/1.39, allocations: 0.7704 MB / 1.501 GB, free: 10.52 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/1.39, allocations: 0 / 1.501 GB, free: 10.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002153/1.392, allocations: 0.942 MB / 1.502 GB, free: 9.566 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/1.392, allocations: 8 kB / 1.502 GB, free: 9.559 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/1.392, allocations: 4 kB / 1.502 GB, free: 9.555 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.392, allocations: 4 kB / 1.502 GB, free: 9.551 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/1.393, allocations: 147.8 kB / 1.502 GB, free: 9.406 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-05/1.393, allocations: 11.94 kB / 1.502 GB, free: 9.395 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.394, allocations: 79.38 kB / 1.502 GB, free: 9.316 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.773e-05/1.394, allocations: 35.94 kB / 1.502 GB, free: 9.281 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00125/1.396, allocations: 0.5331 MB / 1.503 GB, free: 8.742 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008176/1.396, allocations: 454.5 kB / 1.503 GB, free: 8.258 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001371/1.398, allocations: 0.7291 MB / 1.504 GB, free: 7.492 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.11e-05/1.398, allocations: 8 kB / 1.504 GB, free: 7.484 MB / 1.201 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001903/1.4, allocations: 0.8947 MB / 1.505 GB, free: 6.582 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.4, allocations: 4 kB / 1.505 GB, free: 6.578 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.4, allocations: 4 kB / 1.505 GB, free: 6.574 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.4, allocations: 11.98 kB / 1.505 GB, free: 6.562 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007394/1.401, allocations: 143.8 kB / 1.505 GB, free: 6.422 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/1.401, allocations: 12.22 kB / 1.505 GB, free: 6.41 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.402, allocations: 63.64 kB / 1.505 GB, free: 6.348 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/1.402, allocations: 28 kB / 1.505 GB, free: 6.32 MB / 1.201 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.0004309/1.402, allocations: 222.7 kB / 1.506 GB, free: 6.098 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/1.402, allocations: 95.39 kB / 1.506 GB, free: 6.004 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/1.404, allocations: 0.8047 MB / 1.506 GB, free: 5.188 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/1.404, allocations: 15.98 kB / 1.506 GB, free: 5.172 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.404, allocations: 0 / 1.506 GB, free: 5.172 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/1.406, allocations: 0.7361 MB / 1.507 GB, free: 4.402 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004143/1.41, allocations: 2.097 MB / 1.509 GB, free: 2.203 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/1.41, allocations: 3.938 kB / 1.509 GB, free: 2.199 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/1.41, allocations: 132.2 kB / 1.509 GB, free: 2.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.901e-05/1.41, allocations: 15.98 kB / 1.509 GB, free: 2.055 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/1.41, allocations: 16 kB / 1.509 GB, free: 2.039 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.838e-06/1.41, allocations: 4 kB / 1.509 GB, free: 2.035 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.411, allocations: 7.938 kB / 1.509 GB, free: 2.027 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/1.413, allocations: 1.364 MB / 1.511 GB, free: 0.6016 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005987/1.413, allocations: 260.3 kB / 1.511 GB, free: 336 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/1.414, allocations: 19.98 kB / 1.511 GB, free: 316 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000681/1.414, allocations: 24.05 kB / 1.511 GB, free: 292 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/1.415, allocations: 56.2 kB / 1.511 GB, free: 236 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/1.415, allocations: 27.94 kB / 1.511 GB, free: 208 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009845/1.416, allocations: 0.5576 MB / 1.512 GB, free: 15.65 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.416, allocations: 0 / 1.512 GB, free: 15.65 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002424/1.418, allocations: 0.7597 MB / 1.512 GB, free: 14.89 MB / 1.217 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.001906/1.42, allocations: 0.548 MB / 1.513 GB, free: 14.34 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002394/1.422, allocations: 1.119 MB / 1.514 GB, free: 13.23 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/1.422, allocations: 5.125 kB / 1.514 GB, free: 13.22 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006058/1.423, allocations: 362.4 kB / 1.514 GB, free: 12.87 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/1.426, allocations: 0.5397 MB / 1.515 GB, free: 12.34 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/1.43, allocations: 1.943 MB / 1.517 GB, free: 10.32 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.431, allocations: 1.081 MB / 1.518 GB, free: 9.211 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001412/1.432, allocations: 418 kB / 1.518 GB, free: 8.801 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/1.433, allocations: 71.44 kB / 1.518 GB, free: 8.73 MB / 1.217 GB Notification: Performance of SimCode: time 1.634e-06/1.433, allocations: 0 / 1.518 GB, free: 8.73 MB / 1.217 GB Notification: Performance of Templates: time 0.04973/1.482, allocations: 23.35 MB / 1.541 GB, free: 1.609 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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: 10.395596682094038]