Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 117.4 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.5 MB / 0.7293 GB, free: 14.46 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.91 kB / 1.057 GB, free: 1.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3414, allocations: 160.7 MB / 1.214 GB, free: 0.832 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.9623/1.304, allocations: 191.3 MB / 1.401 GB, free: 9.078 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01124/1.315, allocations: 5.743 MB / 1.406 GB, free: 4.398 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/1.317, allocations: 42.41 kB / 1.407 GB, free: 4.383 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001975/1.319, allocations: 0.604 MB / 1.407 GB, free: 3.891 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005914/1.325, allocations: 1.918 MB / 1.409 GB, free: 2.402 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003543/1.328, allocations: 1.188 MB / 1.41 GB, free: 1.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004985/1.333, allocations: 2.951 MB / 1.413 GB, free: 15.81 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/1.335, allocations: 0.8178 MB / 1.414 GB, free: 15.27 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002304/1.337, allocations: 1.093 MB / 1.415 GB, free: 14.62 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/1.339, allocations: 0.9709 MB / 1.416 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002271/1.34, allocations: 108.3 kB / 1.416 GB, free: 14.05 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/1.343, allocations: 1.524 MB / 1.417 GB, free: 13.21 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006272/1.344, allocations: 482.2 kB / 1.418 GB, free: 12.88 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009802/1.345, allocations: 0.6438 MB / 1.419 GB, free: 12.47 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004023/1.349, allocations: 2.145 MB / 1.421 GB, free: 11.08 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/1.349, allocations: 4 kB / 1.421 GB, free: 11.07 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.364e-06/1.349, allocations: 0 / 1.421 GB, free: 11.07 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.8e-05/1.349, allocations: 0 / 1.421 GB, free: 11.07 MB / 1.092 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.002879/1.352, allocations: 1.55 MB / 1.422 GB, free: 9.898 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.352, allocations: 9.656 kB / 1.422 GB, free: 9.898 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/1.354, allocations: 320.4 kB / 1.422 GB, free: 9.754 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/1.356, allocations: 0.8568 MB / 1.423 GB, free: 9.09 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/1.356, allocations: 65.7 kB / 1.423 GB, free: 9.062 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.356, allocations: 88.09 kB / 1.423 GB, free: 9.031 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/1.357, allocations: 0.9114 MB / 1.424 GB, free: 8.512 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/1.357, allocations: 0 / 1.424 GB, free: 8.512 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.391e-05/1.357, allocations: 37.06 kB / 1.424 GB, free: 8.484 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/1.358, allocations: 40.52 kB / 1.424 GB, free: 8.473 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.359, allocations: 0.8255 MB / 1.425 GB, free: 8.074 MB / 1.092 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.005981/1.365, allocations: 3.516 MB / 1.429 GB, free: 5.117 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008393/1.366, allocations: 477 kB / 1.429 GB, free: 4.645 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/1.366, allocations: 283 kB / 1.429 GB, free: 4.367 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/1.366, allocations: 101.5 kB / 1.429 GB, free: 4.25 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/1.366, allocations: 43 kB / 1.429 GB, free: 4.199 MB / 1.092 GB Notification: Performance of pre-optimization done (n=47): time 2.244e-06/1.366, allocations: 0 / 1.429 GB, free: 4.199 MB / 1.092 GB Notification: Performance of matching and sorting (n=49): time 0.004647/1.371, allocations: 1.928 MB / 1.431 GB, free: 2.172 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/1.371, allocations: 59.83 kB / 1.431 GB, free: 2.102 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/1.372, allocations: 0.8097 MB / 1.432 GB, free: 1.281 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.121e-05/1.372, allocations: 41.7 kB / 1.432 GB, free: 1.234 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/1.373, allocations: 480.2 kB / 1.433 GB, free: 0.7617 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/1.373, allocations: 182.4 kB / 1.433 GB, free: 0.582 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/1.373, allocations: 110.3 kB / 1.433 GB, free: 476 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.373, allocations: 337.9 kB / 1.433 GB, free: 132 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004767/1.374, allocations: 237.7 kB / 1.434 GB, free: 15.9 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005694/1.374, allocations: 357.2 kB / 1.434 GB, free: 15.51 MB / 1.107 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.004047/1.379, allocations: 1.534 MB / 1.435 GB, free: 13.92 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.379, allocations: 6.25 kB / 1.435 GB, free: 13.92 MB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001639/1.38, allocations: 0.7927 MB / 1.436 GB, free: 13.11 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.38, allocations: 6.188 kB / 1.436 GB, free: 13.11 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.38, allocations: 7.938 kB / 1.436 GB, free: 13.1 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/1.381, allocations: 94 kB / 1.436 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/1.381, allocations: 143.8 kB / 1.436 GB, free: 12.86 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/1.385, allocations: 3.297 MB / 1.44 GB, free: 9.293 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009811/1.386, allocations: 23.98 kB / 1.44 GB, free: 9.27 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/1.386, allocations: 27.92 kB / 1.44 GB, free: 9.242 MB / 1.107 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.000564/1.386, allocations: 313.6 kB / 1.44 GB, free: 8.93 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/1.387, allocations: 99.42 kB / 1.44 GB, free: 8.832 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/1.387, allocations: 96.72 kB / 1.44 GB, free: 8.73 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.387, allocations: 8 kB / 1.44 GB, free: 8.723 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.387, allocations: 0 / 1.44 GB, free: 8.723 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001201/1.388, allocations: 0.8349 MB / 1.441 GB, free: 7.797 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/1.391, allocations: 1.795 MB / 1.443 GB, free: 5.902 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/1.391, allocations: 4 kB / 1.443 GB, free: 5.898 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/1.392, allocations: 132.2 kB / 1.443 GB, free: 5.77 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002534/1.392, allocations: 72.69 kB / 1.443 GB, free: 5.695 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/1.392, allocations: 16 kB / 1.443 GB, free: 5.68 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/1.394, allocations: 1.778 MB / 1.445 GB, free: 3.766 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.394, allocations: 4 kB / 1.445 GB, free: 3.762 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/1.396, allocations: 1.07 MB / 1.446 GB, free: 2.633 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005001/1.396, allocations: 244.3 kB / 1.446 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/1.397, allocations: 21.19 kB / 1.446 GB, free: 2.355 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/1.397, allocations: 31.97 kB / 1.446 GB, free: 2.324 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/1.397, allocations: 39.83 kB / 1.446 GB, free: 2.285 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.941e-05/1.397, allocations: 31.98 kB / 1.446 GB, free: 2.254 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008051/1.398, allocations: 0.5576 MB / 1.447 GB, free: 1.703 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.11e-07/1.398, allocations: 4 kB / 1.447 GB, free: 1.699 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009783/1.399, allocations: 284 kB / 1.447 GB, free: 1.422 MB / 1.107 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.0005623/1.4, allocations: 200.9 kB / 1.447 GB, free: 1.227 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001522/1.401, allocations: 0.7725 MB / 1.448 GB, free: 440 kB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.401, allocations: 4.688 kB / 1.448 GB, free: 436 kB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0006265/1.402, allocations: 410.2 kB / 1.448 GB, free: 12 kB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.405, allocations: 0.6064 MB / 1.449 GB, free: 15.42 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/1.408, allocations: 1.88 MB / 1.451 GB, free: 13.45 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008476/1.409, allocations: 1.087 MB / 1.452 GB, free: 12.34 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/1.409, allocations: 67.44 kB / 1.452 GB, free: 12.27 MB / 1.123 GB Notification: Performance of SimCode: time 1.052e-06/1.409, allocations: 0 / 1.452 GB, free: 12.27 MB / 1.123 GB Notification: Performance of Templates: time 0.03315/1.442, allocations: 22.07 MB / 1.473 GB, free: 6.344 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.3212686390616]