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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.002068/0.002068, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.532/1.532, allocations: 225.6 MB / 249.4 MB, free: 3 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] 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=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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 71.83 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.138, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2619/1.4, allocations: 188.9 MB / 1.49 GB, free: 7.375 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02068/1.421, allocations: 10.85 MB / 1.5 GB, free: 14.65 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/1.423, allocations: 39.75 kB / 1.501 GB, free: 14.63 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002136/1.425, allocations: 0.5051 MB / 1.501 GB, free: 14.21 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.009821/1.435, allocations: 2.666 MB / 1.504 GB, free: 12.23 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.009171/1.444, allocations: 2.482 MB / 1.506 GB, free: 10.55 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00502/1.449, allocations: 2.779 MB / 1.509 GB, free: 8.188 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/1.451, allocations: 0.6238 MB / 1.509 GB, free: 7.551 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/1.454, allocations: 1.254 MB / 1.511 GB, free: 6.293 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003113/1.457, allocations: 1.125 MB / 1.512 GB, free: 5.164 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004636/1.458, allocations: 100 kB / 1.512 GB, free: 5.066 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00823/1.466, allocations: 3.102 MB / 1.515 GB, free: 1.957 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001014/1.467, allocations: 454.6 kB / 1.515 GB, free: 1.512 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001777/1.469, allocations: 0.5833 MB / 1.516 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.008528/1.477, allocations: 2.971 MB / 1.519 GB, free: 13.95 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.477, allocations: 0 / 1.519 GB, free: 13.95 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.933e-06/1.477, allocations: 0 / 1.519 GB, free: 13.95 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.816e-05/1.477, allocations: 3.938 kB / 1.519 GB, free: 13.94 MB / 1.201 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.005227/1.482, allocations: 1.71 MB / 1.52 GB, free: 12.18 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/1.483, allocations: 15.98 kB / 1.52 GB, free: 12.16 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00219/1.485, allocations: 303 kB / 1.521 GB, free: 11.86 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/1.487, allocations: 0.8319 MB / 1.521 GB, free: 10.99 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/1.487, allocations: 61.3 kB / 1.522 GB, free: 10.93 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/1.487, allocations: 67.97 kB / 1.522 GB, free: 10.86 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/1.489, allocations: 0.9883 MB / 1.523 GB, free: 9.859 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/1.489, allocations: 0 / 1.523 GB, free: 9.859 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/1.489, allocations: 31.91 kB / 1.523 GB, free: 9.828 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/1.489, allocations: 73.95 kB / 1.523 GB, free: 9.754 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/1.491, allocations: 1.011 MB / 1.524 GB, free: 8.746 MB / 1.201 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.007465/1.498, allocations: 3.666 MB / 1.527 GB, free: 4.828 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/1.5, allocations: 0.6298 MB / 1.528 GB, free: 4.191 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005946/1.5, allocations: 356.6 kB / 1.528 GB, free: 3.844 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/1.501, allocations: 202.7 kB / 1.528 GB, free: 3.609 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.501, allocations: 35.12 kB / 1.528 GB, free: 3.562 MB / 1.201 GB Notification: Performance of pre-optimization done (n=62): time 2.295e-06/1.501, allocations: 0 / 1.528 GB, free: 3.562 MB / 1.201 GB Notification: Performance of matching and sorting (n=62): time 0.0023/1.503, allocations: 1.026 MB / 1.529 GB, free: 2.535 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/1.503, allocations: 115.4 kB / 1.53 GB, free: 2.398 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/1.504, allocations: 0.8058 MB / 1.53 GB, free: 1.582 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.147e-05/1.504, allocations: 37.7 kB / 1.53 GB, free: 1.539 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004154/1.505, allocations: 432.7 kB / 1.531 GB, free: 1.113 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/1.505, allocations: 237.9 kB / 1.531 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/1.505, allocations: 146.6 kB / 1.531 GB, free: 0.7266 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.506, allocations: 334 kB / 1.531 GB, free: 404 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005892/1.506, allocations: 340.7 kB / 1.532 GB, free: 60 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/1.507, allocations: 468.8 kB / 1.532 GB, free: 15.57 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/1.508, allocations: 0.7626 MB / 1.533 GB, free: 14.77 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.508, allocations: 4 kB / 1.533 GB, free: 14.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001738/1.51, allocations: 0.9338 MB / 1.534 GB, free: 13.83 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/1.51, allocations: 10.19 kB / 1.534 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.51, allocations: 4 kB / 1.534 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.51, allocations: 4 kB / 1.534 GB, free: 13.81 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/1.511, allocations: 155.7 kB / 1.534 GB, free: 13.66 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.511, allocations: 8.281 kB / 1.534 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/1.511, allocations: 79.39 kB / 1.534 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/1.512, allocations: 31.98 kB / 1.534 GB, free: 13.54 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009258/1.512, allocations: 0.537 MB / 1.535 GB, free: 13 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007232/1.513, allocations: 454.5 kB / 1.535 GB, free: 12.52 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001183/1.514, allocations: 0.733 MB / 1.536 GB, free: 11.75 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/1.514, allocations: 0 / 1.536 GB, free: 11.75 MB / 1.217 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001594/1.516, allocations: 0.8989 MB / 1.537 GB, free: 10.84 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/1.516, allocations: 4 kB / 1.537 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/1.516, allocations: 4 kB / 1.537 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/1.516, allocations: 4 kB / 1.537 GB, free: 10.83 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/1.517, allocations: 143.8 kB / 1.537 GB, free: 10.69 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/1.517, allocations: 11.94 kB / 1.537 GB, free: 10.68 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/1.517, allocations: 63.64 kB / 1.537 GB, free: 10.62 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/1.518, allocations: 28 kB / 1.537 GB, free: 10.59 MB / 1.217 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.0002693/1.518, allocations: 220.1 kB / 1.537 GB, free: 10.37 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/1.518, allocations: 103.4 kB / 1.537 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/1.52, allocations: 0.8073 MB / 1.538 GB, free: 9.449 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/1.52, allocations: 7.938 kB / 1.538 GB, free: 9.441 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.52, allocations: 4 kB / 1.538 GB, free: 9.438 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/1.521, allocations: 0.7438 MB / 1.539 GB, free: 8.668 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/1.524, allocations: 2.098 MB / 1.541 GB, free: 6.473 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/1.524, allocations: 7.938 kB / 1.541 GB, free: 6.465 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/1.525, allocations: 135.9 kB / 1.541 GB, free: 6.332 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/1.525, allocations: 8 kB / 1.541 GB, free: 6.324 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.204e-05/1.525, allocations: 16 kB / 1.541 GB, free: 6.309 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/1.525, allocations: 7.984 kB / 1.541 GB, free: 6.301 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.525, allocations: 7.938 kB / 1.541 GB, free: 6.293 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/1.527, allocations: 1.357 MB / 1.542 GB, free: 4.875 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/1.527, allocations: 264.3 kB / 1.543 GB, free: 4.598 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/1.528, allocations: 16 kB / 1.543 GB, free: 4.582 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/1.528, allocations: 27.98 kB / 1.543 GB, free: 4.555 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/1.528, allocations: 44.27 kB / 1.543 GB, free: 4.512 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/1.528, allocations: 27.98 kB / 1.543 GB, free: 4.484 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000777/1.529, allocations: 0.5576 MB / 1.543 GB, free: 3.934 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.1e-08/1.529, allocations: 0 / 1.543 GB, free: 3.934 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002047/1.531, allocations: 0.7558 MB / 1.544 GB, free: 3.176 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.001417/1.533, allocations: 0.5491 MB / 1.545 GB, free: 2.625 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002216/1.535, allocations: 1.12 MB / 1.546 GB, free: 1.5 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.535, allocations: 0 / 1.546 GB, free: 1.5 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005933/1.535, allocations: 359.7 kB / 1.546 GB, free: 1.152 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002517/1.538, allocations: 0.5317 MB / 1.546 GB, free: 0.6211 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/1.541, allocations: 1.947 MB / 1.548 GB, free: 14.6 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000778/1.542, allocations: 1.073 MB / 1.549 GB, free: 13.49 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001242/1.543, allocations: 417.8 kB / 1.55 GB, free: 13.08 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/1.544, allocations: 75.42 kB / 1.55 GB, free: 13.01 MB / 1.232 GB Notification: Performance of SimCode: time 1.542e-06/1.544, allocations: 0 / 1.55 GB, free: 13.01 MB / 1.232 GB Notification: Performance of Templates: time 0.04055/1.584, allocations: 23.38 MB / 1.573 GB, free: 5.848 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.037228454835713]