Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001319/0.001319, 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.001646/0.001646, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.724/2.724, allocations: 476.8 MB / 0.7714 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002087/0.002087, allocations: 66.52 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 169.9 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.233/0.561, allocations: 194.5 MB / 1.475 GB, free: 7.953 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.5714, allocations: 5.779 MB / 1.48 GB, free: 2.168 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.5728, allocations: 55.56 kB / 1.48 GB, free: 2.113 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.5746, allocations: 0.6214 MB / 1.481 GB, free: 1.488 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005112/0.5797, allocations: 1.937 MB / 1.483 GB, free: 15.54 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.5831, allocations: 1.235 MB / 1.484 GB, free: 14.31 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004732/0.5878, allocations: 3.018 MB / 1.487 GB, free: 11.29 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.5892, allocations: 0.7435 MB / 1.488 GB, free: 10.53 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.5916, allocations: 1.121 MB / 1.489 GB, free: 9.406 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.594, allocations: 0.9881 MB / 1.49 GB, free: 8.422 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002464/0.5942, allocations: 108 kB / 1.49 GB, free: 8.316 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.598, allocations: 1.547 MB / 1.491 GB, free: 6.766 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006156/0.5987, allocations: 474.6 kB / 1.492 GB, free: 6.301 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.5997, allocations: 0.6611 MB / 1.492 GB, free: 5.637 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004024/0.6037, allocations: 2.141 MB / 1.495 GB, free: 3.488 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6037, allocations: 0 / 1.495 GB, free: 3.488 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6037, allocations: 0 / 1.495 GB, free: 3.488 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.138e-05/0.6037, allocations: 0 / 1.495 GB, free: 3.488 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002874/0.6066, allocations: 1.469 MB / 1.496 GB, free: 1.98 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.6066, allocations: 19.91 kB / 1.496 GB, free: 1.961 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.6086, allocations: 323 kB / 1.496 GB, free: 1.645 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001713/0.6104, allocations: 0.7838 MB / 1.497 GB, free: 0.8359 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.601e-05/0.6104, allocations: 66 kB / 1.497 GB, free: 0.7734 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.6106, allocations: 84 kB / 1.497 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.6123, allocations: 0.9091 MB / 1.498 GB, free: 15.78 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.6123, allocations: 0 / 1.498 GB, free: 15.78 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.929e-05/0.6124, allocations: 40 kB / 1.498 GB, free: 15.74 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.6124, allocations: 33.94 kB / 1.498 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.6139, allocations: 0.8276 MB / 1.499 GB, free: 14.88 MB / 1.201 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.006069/0.62, allocations: 3.463 MB / 1.502 GB, free: 11.19 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000874/0.6208, allocations: 492.2 kB / 1.503 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.6213, allocations: 275.3 kB / 1.503 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.6215, allocations: 24.42 kB / 1.503 GB, free: 10.41 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.6215, allocations: 43 kB / 1.503 GB, free: 10.36 MB / 1.201 GB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.6215, allocations: 4 kB / 1.503 GB, free: 10.35 MB / 1.201 GB Notification: Performance of matching and sorting (n=49): time 0.004155/0.6257, allocations: 1.706 MB / 1.505 GB, free: 8.605 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.6257, allocations: 59.84 kB / 1.505 GB, free: 8.535 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.6268, allocations: 0.7981 MB / 1.506 GB, free: 7.73 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.6269, allocations: 37.7 kB / 1.506 GB, free: 7.688 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.6273, allocations: 492.2 kB / 1.506 GB, free: 7.203 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.6275, allocations: 186.4 kB / 1.506 GB, free: 7.02 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.6277, allocations: 110.3 kB / 1.506 GB, free: 6.906 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6278, allocations: 333.9 kB / 1.507 GB, free: 6.574 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.6283, allocations: 237.2 kB / 1.507 GB, free: 6.34 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/0.6289, allocations: 357.2 kB / 1.507 GB, free: 5.957 MB / 1.201 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.003861/0.6328, allocations: 1.448 MB / 1.509 GB, free: 4.477 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.6328, allocations: 4 kB / 1.509 GB, free: 4.473 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001506/0.6343, allocations: 0.7877 MB / 1.51 GB, free: 3.676 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.6343, allocations: 4 kB / 1.51 GB, free: 3.672 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.6343, allocations: 4 kB / 1.51 GB, free: 3.668 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.6347, allocations: 97.59 kB / 1.51 GB, free: 3.566 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.6353, allocations: 143.8 kB / 1.51 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003487/0.6388, allocations: 3.086 MB / 1.513 GB, free: 108 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000916/0.6397, allocations: 31.88 kB / 1.513 GB, free: 76 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.6398, allocations: 23.98 kB / 1.513 GB, free: 52 kB / 1.201 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.0005677/0.6404, allocations: 297.6 kB / 1.513 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002496/0.6406, allocations: 103.5 kB / 1.513 GB, free: 15.65 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.6408, allocations: 96.73 kB / 1.513 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6408, allocations: 4 kB / 1.513 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.6408, allocations: 3.938 kB / 1.513 GB, free: 15.54 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001199/0.642, allocations: 0.8504 MB / 1.514 GB, free: 14.6 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.6451, allocations: 1.759 MB / 1.516 GB, free: 12.75 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6451, allocations: 4.188 kB / 1.516 GB, free: 12.74 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/0.6457, allocations: 131.8 kB / 1.516 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002382/0.646, allocations: 69.22 kB / 1.516 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.646, allocations: 15.98 kB / 1.516 GB, free: 12.53 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001955/0.648, allocations: 1.678 MB / 1.518 GB, free: 10.73 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.648, allocations: 7.938 kB / 1.518 GB, free: 10.73 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/0.6497, allocations: 1.074 MB / 1.519 GB, free: 9.594 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004495/0.6501, allocations: 163.3 kB / 1.519 GB, free: 9.434 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6503, allocations: 12 kB / 1.519 GB, free: 9.422 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/0.651, allocations: 32.17 kB / 1.519 GB, free: 9.391 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.6511, allocations: 51.86 kB / 1.519 GB, free: 9.34 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.297e-05/0.6512, allocations: 27.98 kB / 1.519 GB, free: 9.312 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000782/0.6519, allocations: 0.5654 MB / 1.52 GB, free: 8.754 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6519, allocations: 0 / 1.52 GB, free: 8.754 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009326/0.6529, allocations: 280 kB / 1.52 GB, free: 8.48 MB / 1.217 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.0003192/0.6532, allocations: 167.6 kB / 1.52 GB, free: 8.305 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.6546, allocations: 0.7877 MB / 1.521 GB, free: 7.484 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.6546, allocations: 0 / 1.521 GB, free: 7.484 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.6553, allocations: 404.5 kB / 1.521 GB, free: 7.078 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.6578, allocations: 0.6079 MB / 1.522 GB, free: 6.484 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.6611, allocations: 1.905 MB / 1.524 GB, free: 4.504 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008872/0.662, allocations: 1.087 MB / 1.525 GB, free: 3.387 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.6623, allocations: 71.44 kB / 1.525 GB, free: 3.316 MB / 1.217 GB Notification: Performance of SimCode: time 6.91e-07/0.6623, allocations: 0 / 1.525 GB, free: 3.316 MB / 1.217 GB Notification: Performance of Templates: time 0.03193/0.6942, allocations: 22.1 MB / 1.546 GB, free: 13.34 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.203429324988974]