Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003033/0.003033, allocations: 215.9 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.584/3.584, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volLinSys.heatPort.Q_flow|volNonLinSys.heatPort.Q_flow|volQflow.heatPort.Q_flow|volT.heatPort.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 69.94 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4586, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05675/0.5153, allocations: 45.88 MB / 1.409 GB, free: 15.48 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02159/0.5369, allocations: 11.86 MB / 1.42 GB, free: 3.598 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003452/0.5404, allocations: 115.1 kB / 1.42 GB, free: 3.484 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.5427, allocations: 0.7565 MB / 1.421 GB, free: 2.723 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006234/0.5489, allocations: 1.948 MB / 1.423 GB, free: 0.7656 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003885/0.5528, allocations: 1.388 MB / 1.424 GB, free: 15.39 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004962/0.5578, allocations: 3.286 MB / 1.428 GB, free: 12.1 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.5593, allocations: 0.9581 MB / 1.428 GB, free: 11.11 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004183/0.5635, allocations: 1.547 MB / 1.43 GB, free: 9.562 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.5651, allocations: 0.9134 MB / 1.431 GB, free: 8.645 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.5653, allocations: 96 kB / 1.431 GB, free: 8.551 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.5675, allocations: 0.885 MB / 1.432 GB, free: 7.664 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.5678, allocations: 314.6 kB / 1.432 GB, free: 7.355 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006839/0.5685, allocations: 0.5519 MB / 1.433 GB, free: 6.801 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.5715, allocations: 2.027 MB / 1.435 GB, free: 4.766 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5715, allocations: 0 / 1.435 GB, free: 4.766 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5715, allocations: 0 / 1.435 GB, free: 4.766 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.5715, allocations: 0 / 1.435 GB, free: 4.766 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002809/0.5743, allocations: 1.671 MB / 1.436 GB, free: 3.055 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5743, allocations: 8.031 kB / 1.436 GB, free: 3.047 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006995/0.575, allocations: 223.9 kB / 1.437 GB, free: 2.828 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002176/0.5772, allocations: 1.037 MB / 1.438 GB, free: 1.742 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/0.5773, allocations: 66.38 kB / 1.438 GB, free: 1.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.5774, allocations: 83.94 kB / 1.438 GB, free: 1.598 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.5793, allocations: 1.137 MB / 1.439 GB, free: 356 kB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.5793, allocations: 3.938 kB / 1.439 GB, free: 352 kB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/0.5794, allocations: 40 kB / 1.439 GB, free: 312 kB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.5794, allocations: 20 kB / 1.439 GB, free: 292 kB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.581, allocations: 0.6516 MB / 1.439 GB, free: 15.64 MB / 1.139 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.005009/0.586, allocations: 3.794 MB / 1.443 GB, free: 11.72 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.5871, allocations: 382.6 kB / 1.444 GB, free: 11.34 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.5876, allocations: 196.7 kB / 1.444 GB, free: 11.14 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/0.588, allocations: 107.9 kB / 1.444 GB, free: 11.04 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.5881, allocations: 34.56 kB / 1.444 GB, free: 10.99 MB / 1.139 GB Notification: Performance of pre-optimization done (n=29): time 1.983e-06/0.5881, allocations: 0 / 1.444 GB, free: 10.99 MB / 1.139 GB Notification: Performance of matching and sorting (n=29): time 0.002736/0.5908, allocations: 0.8471 MB / 1.445 GB, free: 10.13 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.5909, allocations: 51.41 kB / 1.445 GB, free: 10.07 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.592, allocations: 0.8797 MB / 1.446 GB, free: 9.168 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.5921, allocations: 33.7 kB / 1.446 GB, free: 9.129 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005431/0.5926, allocations: 0.5973 MB / 1.446 GB, free: 8.523 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.5927, allocations: 123 kB / 1.446 GB, free: 8.402 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.5929, allocations: 110.1 kB / 1.446 GB, free: 8.289 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5931, allocations: 326 kB / 1.447 GB, free: 7.965 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.5936, allocations: 204.8 kB / 1.447 GB, free: 7.766 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.5945, allocations: 0.5507 MB / 1.447 GB, free: 7.094 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.5957, allocations: 0.595 MB / 1.448 GB, free: 6.41 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.5957, allocations: 0 / 1.448 GB, free: 6.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001661/0.5974, allocations: 0.7564 MB / 1.449 GB, free: 5.637 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.5974, allocations: 8.844 kB / 1.449 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5974, allocations: 4 kB / 1.449 GB, free: 5.625 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007036/0.5981, allocations: 158.5 kB / 1.449 GB, free: 5.461 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.5987, allocations: 151.8 kB / 1.449 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.6001, allocations: 1.723 MB / 1.451 GB, free: 3.512 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.6007, allocations: 71.64 kB / 1.451 GB, free: 3.441 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.519e-05/0.6007, allocations: 32.17 kB / 1.451 GB, free: 3.41 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004451/0.6012, allocations: 269.6 kB / 1.451 GB, free: 3.137 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.6013, allocations: 103.3 kB / 1.451 GB, free: 3.035 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.6032, allocations: 0.7147 MB / 1.452 GB, free: 2.301 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.6032, allocations: 4 kB / 1.452 GB, free: 2.297 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6032, allocations: 0 / 1.452 GB, free: 2.297 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.6032, allocations: 11.92 kB / 1.452 GB, free: 2.285 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002831/0.606, allocations: 1.447 MB / 1.453 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.606, allocations: 4 kB / 1.453 GB, free: 0.7734 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.6065, allocations: 83.84 kB / 1.453 GB, free: 0.6914 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005537/0.607, allocations: 150.5 kB / 1.454 GB, free: 0.5352 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.6071, allocations: 8 kB / 1.454 GB, free: 0.5273 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.6083, allocations: 1.708 MB / 1.455 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6083, allocations: 7.969 kB / 1.455 GB, free: 14.73 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.6099, allocations: 0.7804 MB / 1.456 GB, free: 13.91 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.6103, allocations: 167.2 kB / 1.456 GB, free: 13.75 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/0.6103, allocations: 4 kB / 1.456 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.6109, allocations: 43.95 kB / 1.456 GB, free: 13.7 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.974e-05/0.611, allocations: 51.8 kB / 1.456 GB, free: 13.65 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.611, allocations: 19.92 kB / 1.456 GB, free: 13.63 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007589/0.6118, allocations: 0.577 MB / 1.457 GB, free: 13.04 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6118, allocations: 0 / 1.457 GB, free: 13.04 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001132/0.6129, allocations: 402.8 kB / 1.457 GB, free: 12.65 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000701/0.6136, allocations: 377.3 kB / 1.458 GB, free: 12.27 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.6151, allocations: 0.5315 MB / 1.458 GB, free: 11.74 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6151, allocations: 0.5625 kB / 1.458 GB, free: 11.74 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007833/0.6159, allocations: 291.8 kB / 1.458 GB, free: 11.46 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.6178, allocations: 458 kB / 1.459 GB, free: 11.02 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003126/0.621, allocations: 1.819 MB / 1.461 GB, free: 9.156 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/0.6215, allocations: 0.5134 MB / 1.461 GB, free: 8.605 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0005541/0.6221, allocations: 167.1 kB / 1.461 GB, free: 8.438 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.6222, allocations: 63.42 kB / 1.461 GB, free: 8.375 MB / 1.154 GB Notification: Performance of SimCode: time 4.21e-07/0.6222, allocations: 0 / 1.461 GB, free: 8.375 MB / 1.154 GB Notification: Performance of Templates: time 0.03521/0.6574, allocations: 20.74 MB / 1.482 GB, free: 4.031 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.540944553911686]