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.001146/0.001146, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001784/0.00293, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001094/0.001094, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001434/0.002528, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9165/0.9165, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0829/0.9994, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.437/2.437, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2423/2.679, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.819 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.237e-05, allocations: 2.312 kB / 0.819 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.01209/0.01211, allocations: 15.91 MB / 0.8345 GB, free: 2.492 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.009703/0.02181, allocations: 6.172 MB / 0.8405 GB, free: 12.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.02438, allocations: 111.1 kB / 0.8406 GB, free: 12.2 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.02554, allocations: 464.3 kB / 0.8411 GB, free: 11.74 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.02841, allocations: 1.165 MB / 0.8422 GB, free: 10.57 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.0312, allocations: 1.335 MB / 0.8435 GB, free: 9.238 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003999/0.0352, allocations: 3.162 MB / 0.8466 GB, free: 6.066 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/0.03748, allocations: 1.051 MB / 0.8476 GB, free: 4.992 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.04062, allocations: 1.761 MB / 0.8493 GB, free: 3.254 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.04179, allocations: 0.7591 MB / 0.8501 GB, free: 2.492 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.04197, allocations: 96 kB / 0.8502 GB, free: 2.398 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.04304, allocations: 0.4951 MB / 0.8507 GB, free: 1.902 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.04329, allocations: 242.9 kB / 0.8509 GB, free: 1.664 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005073/0.0438, allocations: 387.1 kB / 0.8513 GB, free: 1.285 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.04551, allocations: 1.129 MB / 0.8524 GB, free: 156 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/0.04552, allocations: 3.984 kB / 0.8524 GB, free: 152 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.774e-06/0.04553, allocations: 0 / 0.8524 GB, free: 152 kB / 0.823 GB Notification: Performance of Transformations before backend: time 3.826e-05/0.04556, allocations: 0 / 0.8524 GB, free: 152 kB / 0.823 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.002228/0.04779, allocations: 1.83 MB / 0.8542 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.04783, allocations: 8.031 kB / 0.8542 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000594/0.04842, allocations: 293.8 kB / 0.8544 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.04959, allocations: 0.7776 MB / 0.8552 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.04964, allocations: 62.38 kB / 0.8553 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.04973, allocations: 84.38 kB / 0.8553 GB, free: 13 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.05079, allocations: 0.867 MB / 0.8562 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.05081, allocations: 7.938 kB / 0.8562 GB, free: 12.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.553e-05/0.05086, allocations: 36 kB / 0.8562 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.05088, allocations: 24 kB / 0.8563 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.05125, allocations: 244.4 kB / 0.8565 GB, free: 11.71 MB / 0.8386 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.003139/0.05439, allocations: 3.241 MB / 0.8596 GB, free: 8.355 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.05475, allocations: 201.2 kB / 0.8598 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.958e-05/0.05484, allocations: 67.66 kB / 0.8599 GB, free: 8.078 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.05495, allocations: 27.98 kB / 0.8599 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.05497, allocations: 30.56 kB / 0.86 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=29): time 2.695e-06/0.05498, allocations: 0 / 0.86 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29): time 0.0008894/0.05587, allocations: 399.7 kB / 0.8603 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.05589, allocations: 55.41 kB / 0.8604 GB, free: 7.539 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.05652, allocations: 0.7658 MB / 0.8611 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.05656, allocations: 33.7 kB / 0.8612 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.05681, allocations: 477.4 kB / 0.8616 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.311e-05/0.05688, allocations: 115 kB / 0.8617 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.057, allocations: 106 kB / 0.8618 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.05709, allocations: 329.9 kB / 0.8622 GB, free: 5.688 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.05721, allocations: 63.8 kB / 0.8622 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.05749, allocations: 416 kB / 0.8626 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.05788, allocations: 389.8 kB / 0.863 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.05789, allocations: 4 kB / 0.863 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005372/0.05842, allocations: 393.7 kB / 0.8634 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.05844, allocations: 8 kB / 0.8634 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.05845, allocations: 8 kB / 0.8634 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003661/0.05882, allocations: 118.6 kB / 0.8635 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.05919, allocations: 139.8 kB / 0.8636 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007196/0.05991, allocations: 1.594 MB / 0.8652 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003566/0.06027, allocations: 71.69 kB / 0.8653 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.632e-05/0.06032, allocations: 31.98 kB / 0.8653 GB, free: 2.164 MB / 0.8386 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.0001852/0.0605, allocations: 152.4 kB / 0.8654 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.0606, allocations: 63.92 kB / 0.8655 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005982/0.06119, allocations: 370 kB / 0.8658 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.06121, allocations: 8.188 kB / 0.8658 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.06121, allocations: 0 / 0.8658 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.06122, allocations: 11.97 kB / 0.8659 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.06264, allocations: 0.9102 MB / 0.8667 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.06264, allocations: 0 / 0.8667 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.06291, allocations: 83.86 kB / 0.8668 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.0631, allocations: 119.2 kB / 0.8669 GB, free: 392 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002894/0.06339, allocations: 110.6 kB / 0.867 GB, free: 272 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.06341, allocations: 12 kB / 0.8671 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000617/0.06403, allocations: 1.594 MB / 0.8686 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.06403, allocations: 0 / 0.8686 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.06449, allocations: 473.7 kB / 0.8691 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.06456, allocations: 15.94 kB / 0.8691 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.06485, allocations: 27.97 kB / 0.8691 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.06491, allocations: 31.88 kB / 0.8691 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.06495, allocations: 23.97 kB / 0.8692 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003584/0.06531, allocations: 371.8 kB / 0.8695 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.06531, allocations: 4 kB / 0.8695 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007253/0.06603, allocations: 319 kB / 0.8698 GB, free: 13.28 MB / 0.8542 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.0003152/0.06635, allocations: 168.1 kB / 0.87 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.06685, allocations: 267.3 kB / 0.8702 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.179e-05/0.06687, allocations: 15.98 kB / 0.8703 GB, free: 12.83 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.06718, allocations: 168.4 kB / 0.8704 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/0.06948, allocations: 2.945 MB / 0.8733 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009203/0.07868, allocations: 1.713 MB / 0.875 GB, free: 7.387 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.07884, allocations: 199.6 kB / 0.8752 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004324/0.07927, allocations: 142.5 kB / 0.8753 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000653/0.07992, allocations: 323 kB / 0.8756 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of SimCode: time 8.82e-07/0.07993, allocations: 0 / 0.8756 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of Templates: time 0.02229/0.1022, allocations: 17.96 MB / 0.8931 GB, free: 5.18 MB / 0.8698 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.500765847042203]