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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 225.6 MB / 249.9 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 489.7 MB / 0.7761 GB, free: 2.492 MB / 0.6075 GB [Timeout remaining time 86] 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=501,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=501,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.001908/0.001908, allocations: 67.89 kB / 1.127 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8964/0.8983, allocations: 172 MB / 1.295 GB, free: 38.89 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2013/1.1, allocations: 188.6 MB / 1.479 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0176/1.117, allocations: 10.81 MB / 1.49 GB, free: 5.938 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/1.119, allocations: 43.47 kB / 1.49 GB, free: 5.918 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/1.121, allocations: 0.5045 MB / 1.49 GB, free: 5.5 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006905/1.127, allocations: 2.664 MB / 1.493 GB, free: 3.52 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006373/1.134, allocations: 2.468 MB / 1.495 GB, free: 1.852 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004179/1.138, allocations: 2.774 MB / 1.498 GB, free: 276 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/1.139, allocations: 0.6755 MB / 1.498 GB, free: 15.8 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/1.142, allocations: 1.248 MB / 1.5 GB, free: 15.07 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/1.145, allocations: 1.139 MB / 1.501 GB, free: 14.4 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002223/1.145, allocations: 97.06 kB / 1.501 GB, free: 14.4 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006197/1.151, allocations: 3.108 MB / 1.504 GB, free: 12.46 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006901/1.152, allocations: 450.6 kB / 1.504 GB, free: 12.02 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009221/1.153, allocations: 0.5833 MB / 1.505 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006342/1.159, allocations: 2.967 MB / 1.508 GB, free: 8.457 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/1.159, allocations: 0 / 1.508 GB, free: 8.457 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.793e-06/1.159, allocations: 0 / 1.508 GB, free: 8.457 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.923e-05/1.159, allocations: 4 kB / 1.508 GB, free: 8.453 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.003684/1.163, allocations: 1.718 MB / 1.51 GB, free: 6.68 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.163, allocations: 8.031 kB / 1.51 GB, free: 6.672 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/1.165, allocations: 303 kB / 1.51 GB, free: 6.375 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001452/1.166, allocations: 0.8358 MB / 1.511 GB, free: 5.496 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/1.166, allocations: 57.3 kB / 1.511 GB, free: 5.438 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/1.166, allocations: 63.98 kB / 1.511 GB, free: 5.375 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/1.168, allocations: 0.9922 MB / 1.512 GB, free: 4.367 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/1.168, allocations: 4 kB / 1.512 GB, free: 4.363 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.548e-05/1.168, allocations: 27.97 kB / 1.512 GB, free: 4.336 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/1.168, allocations: 77.88 kB / 1.512 GB, free: 4.258 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/1.17, allocations: 1.015 MB / 1.513 GB, free: 3.242 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.00615/1.176, allocations: 3.662 MB / 1.516 GB, free: 15.32 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/1.177, allocations: 0.6221 MB / 1.517 GB, free: 14.7 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/1.178, allocations: 355 kB / 1.517 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/1.178, allocations: 202.7 kB / 1.518 GB, free: 14.11 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/1.178, allocations: 39.12 kB / 1.518 GB, free: 14.06 MB / 1.201 GB Notification: Performance of pre-optimization done (n=62): time 2.344e-06/1.178, allocations: 3.938 kB / 1.518 GB, free: 14.06 MB / 1.201 GB Notification: Performance of matching and sorting (n=62): time 0.002037/1.18, allocations: 1.03 MB / 1.519 GB, free: 13.02 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/1.18, allocations: 111.4 kB / 1.519 GB, free: 12.89 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/1.181, allocations: 0.8058 MB / 1.519 GB, free: 12.08 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/1.181, allocations: 41.7 kB / 1.519 GB, free: 12.03 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000352/1.182, allocations: 432.8 kB / 1.52 GB, free: 11.61 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002199/1.182, allocations: 230 kB / 1.52 GB, free: 11.38 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/1.182, allocations: 150.5 kB / 1.52 GB, free: 11.23 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.182, allocations: 334 kB / 1.521 GB, free: 10.89 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005658/1.183, allocations: 340.7 kB / 1.521 GB, free: 10.56 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/1.183, allocations: 468.7 kB / 1.521 GB, free: 10.06 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/1.185, allocations: 0.7665 MB / 1.522 GB, free: 9.262 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.185, allocations: 4 kB / 1.522 GB, free: 9.258 MB / 1.201 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001612/1.186, allocations: 0.9377 MB / 1.523 GB, free: 8.312 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/1.186, allocations: 4 kB / 1.523 GB, free: 8.309 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.186, allocations: 4 kB / 1.523 GB, free: 8.305 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.186, allocations: 4 kB / 1.523 GB, free: 8.301 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/1.187, allocations: 151.8 kB / 1.523 GB, free: 8.152 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.187, allocations: 8.219 kB / 1.523 GB, free: 8.145 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/1.188, allocations: 87.39 kB / 1.523 GB, free: 8.059 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/1.188, allocations: 28 kB / 1.523 GB, free: 8.031 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000859/1.189, allocations: 0.537 MB / 1.524 GB, free: 7.492 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000668/1.189, allocations: 454.5 kB / 1.524 GB, free: 7.008 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001143/1.191, allocations: 0.7369 MB / 1.525 GB, free: 6.238 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/1.191, allocations: 0 / 1.525 GB, free: 6.238 MB / 1.201 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001539/1.192, allocations: 0.8911 MB / 1.526 GB, free: 5.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/1.192, allocations: 12.06 kB / 1.526 GB, free: 5.328 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/1.192, allocations: 0 / 1.526 GB, free: 5.328 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/1.192, allocations: 8 kB / 1.526 GB, free: 5.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/1.193, allocations: 143.8 kB / 1.526 GB, free: 5.18 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/1.193, allocations: 7.938 kB / 1.526 GB, free: 5.172 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007238/1.194, allocations: 67.59 kB / 1.526 GB, free: 5.105 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/1.194, allocations: 32 kB / 1.526 GB, free: 5.074 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.0002458/1.194, allocations: 220.1 kB / 1.526 GB, free: 4.852 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/1.194, allocations: 95.39 kB / 1.526 GB, free: 4.758 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/1.195, allocations: 0.8047 MB / 1.527 GB, free: 3.941 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/1.195, allocations: 8 kB / 1.527 GB, free: 3.934 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.195, allocations: 0 / 1.527 GB, free: 3.934 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/1.197, allocations: 0.7478 MB / 1.528 GB, free: 3.156 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/1.2, allocations: 2.098 MB / 1.53 GB, free: 0.9531 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.2, allocations: 11.92 kB / 1.53 GB, free: 0.9414 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000668/1.2, allocations: 131.8 kB / 1.53 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/1.2, allocations: 7.938 kB / 1.53 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/1.2, allocations: 16 kB / 1.53 GB, free: 0.7891 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/1.2, allocations: 8 kB / 1.53 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.2, allocations: 7.938 kB / 1.53 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/1.202, allocations: 1.36 MB / 1.531 GB, free: 15.36 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/1.203, allocations: 260.3 kB / 1.532 GB, free: 15.08 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.203, allocations: 16 kB / 1.532 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/1.204, allocations: 23.98 kB / 1.532 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/1.204, allocations: 52.27 kB / 1.532 GB, free: 14.99 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.876e-05/1.204, allocations: 23.98 kB / 1.532 GB, free: 14.96 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007245/1.204, allocations: 0.5576 MB / 1.532 GB, free: 14.41 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/1.204, allocations: 0 / 1.532 GB, free: 14.41 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00174/1.206, allocations: 0.7559 MB / 1.533 GB, free: 13.66 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.001214/1.207, allocations: 0.5485 MB / 1.534 GB, free: 13.11 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001994/1.209, allocations: 1.128 MB / 1.535 GB, free: 11.99 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.209, allocations: 0 / 1.535 GB, free: 11.99 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005599/1.21, allocations: 354.1 kB / 1.535 GB, free: 11.64 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/1.212, allocations: 0.5398 MB / 1.536 GB, free: 11.11 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/1.215, allocations: 1.999 MB / 1.538 GB, free: 9.031 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007456/1.216, allocations: 1.077 MB / 1.539 GB, free: 7.926 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/1.216, allocations: 83.44 kB / 1.539 GB, free: 7.844 MB / 1.217 GB Notification: Performance of SimCode: time 7.52e-07/1.216, allocations: 0 / 1.539 GB, free: 7.844 MB / 1.217 GB Notification: Performance of Templates: time 0.02993/1.246, allocations: 18.66 MB / 1.557 GB, free: 5.297 MB / 1.232 GB [Timeout remaining time 299] 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/jenkins1/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