Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.001357/0.001357, 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.00162/0.00162, allocations: 219.1 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.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 7.996 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 2.987/2.987, allocations: 0.505 GB / 0.8108 GB, free: 22.06 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.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [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.001957/0.001957, allocations: 65.91 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2908, allocations: 180.2 MB / 1.354 GB, free: 7.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2028/0.4936, allocations: 194.6 MB / 1.544 GB, free: 4.637 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009197/0.5028, allocations: 5.793 MB / 1.55 GB, free: 14.83 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009879/0.5038, allocations: 55.56 kB / 1.55 GB, free: 14.78 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.5052, allocations: 0.6136 MB / 1.55 GB, free: 14.16 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.5095, allocations: 1.941 MB / 1.552 GB, free: 12.21 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.5123, allocations: 1.245 MB / 1.554 GB, free: 10.97 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003809/0.5161, allocations: 3.025 MB / 1.557 GB, free: 7.938 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.5172, allocations: 0.7513 MB / 1.557 GB, free: 7.176 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/0.5196, allocations: 1.316 MB / 1.559 GB, free: 5.855 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.5215, allocations: 0.9609 MB / 1.559 GB, free: 4.898 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.5217, allocations: 108 kB / 1.56 GB, free: 4.793 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.5245, allocations: 1.532 MB / 1.561 GB, free: 3.258 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005095/0.525, allocations: 478.6 kB / 1.562 GB, free: 2.789 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007731/0.5258, allocations: 0.6573 MB / 1.562 GB, free: 2.129 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003101/0.5289, allocations: 2.149 MB / 1.564 GB, free: 15.97 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5289, allocations: 0 / 1.564 GB, free: 15.97 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5289, allocations: 0 / 1.564 GB, free: 15.97 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.065e-05/0.5289, allocations: 7.875 kB / 1.564 GB, free: 15.96 MB / 1.264 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.002475/0.5314, allocations: 1.471 MB / 1.566 GB, free: 14.46 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.5314, allocations: 8.031 kB / 1.566 GB, free: 14.45 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.5333, allocations: 323 kB / 1.566 GB, free: 14.13 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.5348, allocations: 0.7838 MB / 1.567 GB, free: 13.32 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.5349, allocations: 66 kB / 1.567 GB, free: 13.26 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.535, allocations: 80 kB / 1.567 GB, free: 13.18 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.5366, allocations: 0.9169 MB / 1.568 GB, free: 12.26 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.5366, allocations: 0 / 1.568 GB, free: 12.26 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.073e-05/0.5367, allocations: 32 kB / 1.568 GB, free: 12.23 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-05/0.5367, allocations: 41.92 kB / 1.568 GB, free: 12.18 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.5381, allocations: 0.8237 MB / 1.569 GB, free: 11.36 MB / 1.264 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.005439/0.5436, allocations: 3.471 MB / 1.572 GB, free: 7.672 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007502/0.5443, allocations: 480.4 kB / 1.573 GB, free: 7.195 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.5448, allocations: 278 kB / 1.573 GB, free: 6.922 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.5449, allocations: 28.42 kB / 1.573 GB, free: 6.895 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.5449, allocations: 39 kB / 1.573 GB, free: 6.844 MB / 1.264 GB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.545, allocations: 0 / 1.573 GB, free: 6.844 MB / 1.264 GB Notification: Performance of matching and sorting (n=49): time 0.003699/0.5486, allocations: 1.702 MB / 1.575 GB, free: 5.102 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.5487, allocations: 59.84 kB / 1.575 GB, free: 5.031 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000977/0.5497, allocations: 0.8097 MB / 1.575 GB, free: 4.211 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.5497, allocations: 37.7 kB / 1.575 GB, free: 4.168 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.5501, allocations: 484.2 kB / 1.576 GB, free: 3.691 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.5503, allocations: 182.4 kB / 1.576 GB, free: 3.512 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.5505, allocations: 114.3 kB / 1.576 GB, free: 3.395 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5506, allocations: 329.9 kB / 1.576 GB, free: 3.066 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.551, allocations: 245.2 kB / 1.577 GB, free: 2.824 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.5515, allocations: 357.2 kB / 1.577 GB, free: 2.441 MB / 1.264 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003556/0.5551, allocations: 1.453 MB / 1.578 GB, free: 0.9492 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5551, allocations: 0 / 1.578 GB, free: 0.9492 MB / 1.264 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001332/0.5564, allocations: 0.7796 MB / 1.579 GB, free: 160 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5564, allocations: 8 kB / 1.579 GB, free: 152 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.5565, allocations: 4 kB / 1.579 GB, free: 148 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002877/0.5567, allocations: 105.9 kB / 1.579 GB, free: 36 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.5574, allocations: 139.8 kB / 1.579 GB, free: 15.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.5604, allocations: 3.094 MB / 1.583 GB, free: 12.57 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007742/0.5612, allocations: 23.92 kB / 1.583 GB, free: 12.55 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.5612, allocations: 24 kB / 1.583 GB, free: 12.52 MB / 1.279 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004881/0.5617, allocations: 302.4 kB / 1.583 GB, free: 12.22 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.5619, allocations: 95.44 kB / 1.583 GB, free: 12.12 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.562, allocations: 108.7 kB / 1.583 GB, free: 12.02 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.5621, allocations: 4 kB / 1.583 GB, free: 12.01 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5621, allocations: 0 / 1.583 GB, free: 12.01 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/0.5632, allocations: 0.8426 MB / 1.584 GB, free: 11.08 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.5661, allocations: 1.766 MB / 1.586 GB, free: 9.223 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.5661, allocations: 4 kB / 1.586 GB, free: 9.219 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.5667, allocations: 132.2 kB / 1.586 GB, free: 9.09 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000222/0.567, allocations: 64.81 kB / 1.586 GB, free: 9.023 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.567, allocations: 12 kB / 1.586 GB, free: 9.012 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.5687, allocations: 1.686 MB / 1.587 GB, free: 7.211 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.5687, allocations: 7.922 kB / 1.587 GB, free: 7.203 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.5703, allocations: 1.07 MB / 1.588 GB, free: 6.07 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004251/0.5707, allocations: 163.3 kB / 1.589 GB, free: 5.91 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.5708, allocations: 20.05 kB / 1.589 GB, free: 5.891 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006123/0.5714, allocations: 31.08 kB / 1.589 GB, free: 5.863 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.5715, allocations: 43.81 kB / 1.589 GB, free: 5.82 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/0.5716, allocations: 35.97 kB / 1.589 GB, free: 5.785 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007069/0.5723, allocations: 0.5537 MB / 1.589 GB, free: 5.238 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5723, allocations: 4 kB / 1.589 GB, free: 5.234 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008133/0.5731, allocations: 280 kB / 1.59 GB, free: 4.961 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003086/0.5734, allocations: 173.3 kB / 1.59 GB, free: 4.781 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.5747, allocations: 0.7837 MB / 1.591 GB, free: 3.977 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5747, allocations: 0 / 1.591 GB, free: 3.977 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005632/0.5753, allocations: 407.7 kB / 1.591 GB, free: 3.566 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.5776, allocations: 0.6161 MB / 1.592 GB, free: 2.965 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.5804, allocations: 1.896 MB / 1.593 GB, free: 0.9883 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00072/0.5811, allocations: 1.084 MB / 1.594 GB, free: 15.87 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.5813, allocations: 71.42 kB / 1.594 GB, free: 15.8 MB / 1.295 GB Notification: Performance of SimCode: time 4.81e-07/0.5813, allocations: 0 / 1.594 GB, free: 15.8 MB / 1.295 GB Notification: Performance of Templates: time 0.5642/1.146, allocations: 22.08 MB / 1.616 GB, free: 254.2 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 14.15530599100748]