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.001487/0.001487, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001578/0.001578, allocations: 220.6 kB / 23.01 MB, free: 4.605 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.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.018/3.018, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 177] 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.001951/0.001951, allocations: 62.36 kB / 1.178 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3245, allocations: 180.2 MB / 1.354 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05414/0.3786, allocations: 50.96 MB / 1.404 GB, free: 4.781 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0197/0.3983, allocations: 12.76 MB / 1.416 GB, free: 7.984 MB / 1.108 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002558/0.4009, allocations: 107.1 kB / 1.416 GB, free: 7.879 MB / 1.108 GB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.403, allocations: 0.7877 MB / 1.417 GB, free: 7.086 MB / 1.108 GB Notification: Performance of NFTyping.typeBindings: time 0.005143/0.4082, allocations: 1.963 MB / 1.419 GB, free: 5.113 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.4118, allocations: 1.43 MB / 1.421 GB, free: 3.699 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.004874/0.4167, allocations: 3.327 MB / 1.424 GB, free: 372 kB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.4182, allocations: 0.9698 MB / 1.425 GB, free: 15.36 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003643/0.4219, allocations: 1.533 MB / 1.426 GB, free: 13.83 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.4234, allocations: 0.9564 MB / 1.427 GB, free: 12.87 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.4235, allocations: 96 kB / 1.427 GB, free: 12.77 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.4259, allocations: 1.166 MB / 1.428 GB, free: 11.61 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/0.4263, allocations: 310.6 kB / 1.429 GB, free: 11.3 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007521/0.427, allocations: 0.68 MB / 1.429 GB, free: 10.62 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/0.43, allocations: 2.066 MB / 1.431 GB, free: 8.543 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.43, allocations: 0 / 1.431 GB, free: 8.543 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.322e-06/0.43, allocations: 3.938 kB / 1.431 GB, free: 8.539 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.43, allocations: 0 / 1.431 GB, free: 8.539 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.002666/0.4326, allocations: 1.671 MB / 1.433 GB, free: 6.828 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4327, allocations: 16.03 kB / 1.433 GB, free: 6.812 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006637/0.4333, allocations: 223.8 kB / 1.433 GB, free: 6.594 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.4353, allocations: 1.04 MB / 1.434 GB, free: 5.508 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.071e-05/0.4354, allocations: 70.31 kB / 1.434 GB, free: 5.441 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4355, allocations: 83.94 kB / 1.434 GB, free: 5.359 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.4372, allocations: 1.007 MB / 1.435 GB, free: 4.27 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4372, allocations: 3.938 kB / 1.435 GB, free: 4.266 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.507e-05/0.4373, allocations: 40 kB / 1.435 GB, free: 4.227 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.4373, allocations: 20 kB / 1.435 GB, free: 4.207 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.4387, allocations: 0.6477 MB / 1.436 GB, free: 3.559 MB / 1.123 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.005601/0.4443, allocations: 4.683 MB / 1.441 GB, free: 14.61 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.4454, allocations: 378.5 kB / 1.441 GB, free: 14.23 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.4459, allocations: 204.7 kB / 1.441 GB, free: 14.03 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/0.4463, allocations: 99.92 kB / 1.441 GB, free: 13.93 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.4464, allocations: 42.5 kB / 1.441 GB, free: 13.88 MB / 1.139 GB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.4464, allocations: 0 / 1.441 GB, free: 13.88 MB / 1.139 GB Notification: Performance of matching and sorting (n=29): time 0.002665/0.449, allocations: 0.8427 MB / 1.442 GB, free: 13.02 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4491, allocations: 63.34 kB / 1.442 GB, free: 12.95 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.4503, allocations: 0.9794 MB / 1.443 GB, free: 11.95 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.4504, allocations: 29.7 kB / 1.443 GB, free: 11.92 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005003/0.4509, allocations: 0.6017 MB / 1.444 GB, free: 11.31 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.451, allocations: 111 kB / 1.444 GB, free: 11.2 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.4512, allocations: 114.1 kB / 1.444 GB, free: 11.09 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4513, allocations: 326 kB / 1.444 GB, free: 10.76 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005081/0.4518, allocations: 196.8 kB / 1.444 GB, free: 10.57 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007016/0.4525, allocations: 409.7 kB / 1.445 GB, free: 10.08 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.4537, allocations: 0.6028 MB / 1.445 GB, free: 9.387 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.4537, allocations: 7.938 kB / 1.445 GB, free: 9.379 MB / 1.139 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001643/0.4553, allocations: 0.7494 MB / 1.446 GB, free: 8.613 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.4554, allocations: 12.12 kB / 1.446 GB, free: 8.602 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.4554, allocations: 8 kB / 1.446 GB, free: 8.594 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007045/0.4561, allocations: 154.5 kB / 1.446 GB, free: 8.434 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.4567, allocations: 151.7 kB / 1.447 GB, free: 8.285 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.4579, allocations: 1.716 MB / 1.448 GB, free: 6.492 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006447/0.4586, allocations: 91.47 kB / 1.448 GB, free: 6.402 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.872e-05/0.4586, allocations: 28 kB / 1.448 GB, free: 6.375 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.0004728/0.4591, allocations: 274.3 kB / 1.449 GB, free: 6.098 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/0.4593, allocations: 111.5 kB / 1.449 GB, free: 5.988 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.4611, allocations: 0.7392 MB / 1.449 GB, free: 5.227 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4611, allocations: 4 kB / 1.449 GB, free: 5.223 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4611, allocations: 7.875 kB / 1.449 GB, free: 5.215 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.4611, allocations: 3.984 kB / 1.449 GB, free: 5.211 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002992/0.4641, allocations: 1.608 MB / 1.451 GB, free: 3.531 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4641, allocations: 4 kB / 1.451 GB, free: 3.527 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.4646, allocations: 92.08 kB / 1.451 GB, free: 3.438 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005631/0.4651, allocations: 146.4 kB / 1.451 GB, free: 3.285 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.4652, allocations: 23.92 kB / 1.451 GB, free: 3.262 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.4664, allocations: 1.7 MB / 1.453 GB, free: 1.484 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.738e-06/0.4664, allocations: 3.984 kB / 1.453 GB, free: 1.48 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.468, allocations: 0.7925 MB / 1.454 GB, free: 0.6445 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.4684, allocations: 175.1 kB / 1.454 GB, free: 484 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.4685, allocations: 8 kB / 1.454 GB, free: 476 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.469, allocations: 47.94 kB / 1.454 GB, free: 428 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.4691, allocations: 31.89 kB / 1.454 GB, free: 396 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-05/0.4691, allocations: 19.98 kB / 1.454 GB, free: 376 kB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008809/0.47, allocations: 0.6619 MB / 1.455 GB, free: 15.7 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.47, allocations: 0 / 1.455 GB, free: 15.7 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001019/0.471, allocations: 390.9 kB / 1.455 GB, free: 15.32 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.0006543/0.4717, allocations: 386.4 kB / 1.455 GB, free: 14.93 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001502/0.4732, allocations: 0.5332 MB / 1.456 GB, free: 14.4 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4732, allocations: 0 / 1.456 GB, free: 14.4 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007427/0.474, allocations: 280 kB / 1.456 GB, free: 14.12 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/0.4761, allocations: 0.5307 MB / 1.457 GB, free: 13.61 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.4792, allocations: 1.887 MB / 1.458 GB, free: 11.67 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.48, allocations: 1.099 MB / 1.46 GB, free: 10.54 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002069/0.4802, allocations: 75.42 kB / 1.46 GB, free: 10.47 MB / 1.154 GB Notification: Performance of SimCode: time 8.92e-07/0.4802, allocations: 0 / 1.46 GB, free: 10.47 MB / 1.154 GB Notification: Performance of Templates: time 0.04094/0.5211, allocations: 32.32 MB / 1.491 GB, free: 10.26 MB / 1.186 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/jenkins1/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: 13.415221439994639]