Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001566/0.001566, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001683/0.001683, allocations: 213.8 kB / 20.1 MB, free: 3.055 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.443/1.443, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.843/2.843, allocations: 0.49 GB / 0.7923 GB, free: 1.336 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002045/0.002045, allocations: 70.09 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9076/0.9097, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2308/1.14, allocations: 194.3 MB / 1.512 GB, free: 6.961 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01076/1.151, allocations: 5.769 MB / 1.517 GB, free: 1.184 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00206/1.153, allocations: 55.5 kB / 1.517 GB, free: 1.129 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/1.155, allocations: 0.6059 MB / 1.518 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005742/1.161, allocations: 1.921 MB / 1.52 GB, free: 14.59 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003373/1.164, allocations: 1.205 MB / 1.521 GB, free: 13.39 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004537/1.169, allocations: 2.94 MB / 1.524 GB, free: 10.45 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/1.17, allocations: 0.8055 MB / 1.525 GB, free: 9.629 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003146/1.174, allocations: 1.312 MB / 1.526 GB, free: 8.312 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/1.176, allocations: 0.9617 MB / 1.527 GB, free: 7.352 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002519/1.176, allocations: 112 kB / 1.527 GB, free: 7.242 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/1.18, allocations: 1.504 MB / 1.528 GB, free: 5.734 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005982/1.18, allocations: 474.6 kB / 1.529 GB, free: 5.27 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009842/1.181, allocations: 0.6573 MB / 1.53 GB, free: 4.609 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003822/1.185, allocations: 2.153 MB / 1.532 GB, free: 2.449 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.185, allocations: 0 / 1.532 GB, free: 2.449 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.893e-06/1.185, allocations: 0 / 1.532 GB, free: 2.449 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.536e-05/1.185, allocations: 0 / 1.532 GB, free: 2.449 MB / 1.201 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.003021/1.188, allocations: 1.541 MB / 1.533 GB, free: 0.8516 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.188, allocations: 15.98 kB / 1.533 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/1.19, allocations: 323 kB / 1.533 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/1.192, allocations: 0.8637 MB / 1.534 GB, free: 15.61 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/1.192, allocations: 66 kB / 1.534 GB, free: 15.55 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/1.192, allocations: 84 kB / 1.534 GB, free: 15.47 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/1.194, allocations: 0.9169 MB / 1.535 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/1.194, allocations: 0 / 1.535 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.912e-05/1.194, allocations: 36 kB / 1.535 GB, free: 14.51 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-05/1.194, allocations: 34 kB / 1.535 GB, free: 14.47 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/1.196, allocations: 0.8276 MB / 1.536 GB, free: 13.65 MB / 1.217 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.006153/1.202, allocations: 3.521 MB / 1.54 GB, free: 9.906 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008364/1.203, allocations: 476.4 kB / 1.54 GB, free: 9.43 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004791/1.203, allocations: 274.5 kB / 1.54 GB, free: 9.16 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/1.203, allocations: 105.5 kB / 1.541 GB, free: 9.039 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/1.203, allocations: 39 kB / 1.541 GB, free: 8.992 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.525e-06/1.203, allocations: 3.938 kB / 1.541 GB, free: 8.988 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.004551/1.208, allocations: 1.932 MB / 1.542 GB, free: 6.965 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.208, allocations: 63.83 kB / 1.542 GB, free: 6.887 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.209, allocations: 0.8058 MB / 1.543 GB, free: 6.07 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.897e-05/1.209, allocations: 37.7 kB / 1.543 GB, free: 6.027 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/1.21, allocations: 480.3 kB / 1.544 GB, free: 5.555 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/1.21, allocations: 186.4 kB / 1.544 GB, free: 5.371 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/1.21, allocations: 106.3 kB / 1.544 GB, free: 5.262 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.21, allocations: 333.9 kB / 1.544 GB, free: 4.93 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004774/1.211, allocations: 245.1 kB / 1.545 GB, free: 4.688 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005691/1.211, allocations: 357.2 kB / 1.545 GB, free: 4.305 MB / 1.217 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.004129/1.215, allocations: 1.535 MB / 1.546 GB, free: 2.723 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/1.215, allocations: 0 / 1.546 GB, free: 2.723 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001593/1.217, allocations: 0.7849 MB / 1.547 GB, free: 1.922 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.217, allocations: 8 kB / 1.547 GB, free: 1.914 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.217, allocations: 0 / 1.547 GB, free: 1.914 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003368/1.217, allocations: 98 kB / 1.547 GB, free: 1.812 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/1.218, allocations: 143.8 kB / 1.547 GB, free: 1.672 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003554/1.222, allocations: 3.287 MB / 1.551 GB, free: 14.11 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/1.223, allocations: 35.88 kB / 1.551 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/1.223, allocations: 23.98 kB / 1.551 GB, free: 14.05 MB / 1.232 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.0005457/1.223, allocations: 312.2 kB / 1.551 GB, free: 13.73 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/1.223, allocations: 95.44 kB / 1.551 GB, free: 13.64 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/1.224, allocations: 100.7 kB / 1.551 GB, free: 13.54 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/1.224, allocations: 4 kB / 1.551 GB, free: 13.54 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.224, allocations: 0 / 1.551 GB, free: 13.54 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001212/1.225, allocations: 0.8465 MB / 1.552 GB, free: 12.6 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/1.228, allocations: 1.784 MB / 1.554 GB, free: 10.71 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.228, allocations: 0 / 1.554 GB, free: 10.71 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/1.229, allocations: 140.1 kB / 1.554 GB, free: 10.58 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/1.229, allocations: 64.81 kB / 1.554 GB, free: 10.51 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/1.229, allocations: 16 kB / 1.554 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/1.231, allocations: 1.793 MB / 1.556 GB, free: 8.562 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.231, allocations: 0 / 1.556 GB, free: 8.562 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/1.233, allocations: 1.077 MB / 1.557 GB, free: 7.422 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/1.233, allocations: 240.4 kB / 1.557 GB, free: 7.168 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.233, allocations: 16.06 kB / 1.557 GB, free: 7.152 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007434/1.234, allocations: 36.86 kB / 1.557 GB, free: 7.121 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.234, allocations: 39.89 kB / 1.557 GB, free: 7.082 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.058e-05/1.234, allocations: 27.98 kB / 1.557 GB, free: 7.055 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008345/1.235, allocations: 0.5615 MB / 1.558 GB, free: 6.5 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.235, allocations: 7.938 kB / 1.558 GB, free: 6.492 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009992/1.236, allocations: 284 kB / 1.558 GB, free: 6.215 MB / 1.232 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.0003891/1.237, allocations: 175 kB / 1.558 GB, free: 6.031 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001459/1.238, allocations: 0.7842 MB / 1.559 GB, free: 5.223 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.238, allocations: 4 kB / 1.559 GB, free: 5.219 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006752/1.239, allocations: 403.7 kB / 1.559 GB, free: 4.812 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/1.241, allocations: 0.6016 MB / 1.56 GB, free: 4.223 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/1.245, allocations: 1.895 MB / 1.562 GB, free: 2.246 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008219/1.246, allocations: 1.084 MB / 1.563 GB, free: 1.133 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/1.246, allocations: 75.44 kB / 1.563 GB, free: 1.059 MB / 1.232 GB Notification: Performance of SimCode: time 1.052e-06/1.246, allocations: 0 / 1.563 GB, free: 1.059 MB / 1.232 GB Notification: Performance of Templates: time 0.03369/1.279, allocations: 22.09 MB / 1.584 GB, free: 11.09 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.373622829996748]