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.001824/0.001824, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002211/0.002211, allocations: 217.1 kB / 22.99 MB, free: 4.945 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.747/2.747, allocations: 476 MB / 0.7707 GB, free: 4.723 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.002098/0.002098, allocations: 68.53 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3613, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2245/0.5858, allocations: 168.5 MB / 1.448 GB, free: 2.805 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.5961, allocations: 5.436 MB / 1.454 GB, free: 13.36 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.5977, allocations: 55.5 kB / 1.454 GB, free: 13.3 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.5996, allocations: 0.5513 MB / 1.454 GB, free: 12.75 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005658/0.6052, allocations: 1.929 MB / 1.456 GB, free: 10.81 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.6088, allocations: 1.211 MB / 1.457 GB, free: 9.609 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004555/0.6133, allocations: 3.004 MB / 1.46 GB, free: 6.602 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.6147, allocations: 0.7318 MB / 1.461 GB, free: 5.855 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.6172, allocations: 1.121 MB / 1.462 GB, free: 4.73 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/0.6197, allocations: 0.9486 MB / 1.463 GB, free: 3.785 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.62, allocations: 108 kB / 1.463 GB, free: 3.68 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.6229, allocations: 1.196 MB / 1.464 GB, free: 2.48 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005921/0.6235, allocations: 470.6 kB / 1.465 GB, free: 2.02 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008416/0.6243, allocations: 0.5485 MB / 1.465 GB, free: 1.469 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.6278, allocations: 2.102 MB / 1.467 GB, free: 15.36 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.6278, allocations: 4 kB / 1.467 GB, free: 15.36 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6278, allocations: 3.938 kB / 1.467 GB, free: 15.35 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.632e-05/0.6279, allocations: 0 / 1.467 GB, free: 15.35 MB / 1.17 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.002738/0.6306, allocations: 1.481 MB / 1.469 GB, free: 13.83 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.6306, allocations: 12.03 kB / 1.469 GB, free: 13.82 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.6326, allocations: 311 kB / 1.469 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.6343, allocations: 0.7877 MB / 1.47 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.6343, allocations: 66 kB / 1.47 GB, free: 12.64 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.6345, allocations: 83.98 kB / 1.47 GB, free: 12.56 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.6365, allocations: 1.365 MB / 1.471 GB, free: 11.08 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.6365, allocations: 3.938 kB / 1.471 GB, free: 11.07 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-05/0.6366, allocations: 36 kB / 1.471 GB, free: 11.04 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-05/0.6367, allocations: 37.98 kB / 1.471 GB, free: 11 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.6382, allocations: 0.8275 MB / 1.472 GB, free: 10.17 MB / 1.17 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.005261/0.6435, allocations: 2.383 MB / 1.475 GB, free: 7.738 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008079/0.6443, allocations: 472.4 kB / 1.475 GB, free: 7.27 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/0.6448, allocations: 275.3 kB / 1.475 GB, free: 7 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.6449, allocations: 28.42 kB / 1.475 GB, free: 6.973 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.645, allocations: 43 kB / 1.475 GB, free: 6.922 MB / 1.17 GB Notification: Performance of pre-optimization done (n=47): time 2.605e-06/0.645, allocations: 0 / 1.475 GB, free: 6.922 MB / 1.17 GB Notification: Performance of matching and sorting (n=49): time 0.004282/0.6493, allocations: 1.695 MB / 1.477 GB, free: 5.188 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.6493, allocations: 63.78 kB / 1.477 GB, free: 5.113 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008897/0.6502, allocations: 0.6488 MB / 1.478 GB, free: 4.461 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.704e-05/0.6503, allocations: 37.7 kB / 1.478 GB, free: 4.418 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.6507, allocations: 496 kB / 1.478 GB, free: 3.926 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.6509, allocations: 178.5 kB / 1.478 GB, free: 3.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.6511, allocations: 114.2 kB / 1.478 GB, free: 3.633 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.6513, allocations: 386.7 kB / 1.479 GB, free: 3.246 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.6518, allocations: 237.2 kB / 1.479 GB, free: 3.012 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.6524, allocations: 412.5 kB / 1.479 GB, free: 2.562 MB / 1.17 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.003826/0.6562, allocations: 1.456 MB / 1.481 GB, free: 1.074 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6562, allocations: 0 / 1.481 GB, free: 1.074 MB / 1.17 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001496/0.6577, allocations: 0.7722 MB / 1.482 GB, free: 300 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6577, allocations: 8 kB / 1.482 GB, free: 292 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6577, allocations: 4 kB / 1.482 GB, free: 288 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003074/0.658, allocations: 93.66 kB / 1.482 GB, free: 188 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006668/0.6587, allocations: 147.8 kB / 1.482 GB, free: 40 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/0.6621, allocations: 3.035 MB / 1.485 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000857/0.663, allocations: 28.2 kB / 1.485 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.663, allocations: 24 kB / 1.485 GB, free: 12.75 MB / 1.186 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.000556/0.6636, allocations: 309.5 kB / 1.485 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.6638, allocations: 87.42 kB / 1.485 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.6639, allocations: 87.36 kB / 1.485 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.6639, allocations: 8 kB / 1.485 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.6639, allocations: 0 / 1.485 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/0.6652, allocations: 0.8387 MB / 1.486 GB, free: 11.32 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.6682, allocations: 1.534 MB / 1.488 GB, free: 9.703 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.6682, allocations: 11.97 kB / 1.488 GB, free: 9.691 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.6688, allocations: 123.8 kB / 1.488 GB, free: 9.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002517/0.6691, allocations: 72.8 kB / 1.488 GB, free: 9.496 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.6691, allocations: 8 kB / 1.488 GB, free: 9.488 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.671, allocations: 1.648 MB / 1.489 GB, free: 7.738 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.671, allocations: 7.938 kB / 1.489 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.6728, allocations: 1.063 MB / 1.49 GB, free: 6.609 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000501/0.6733, allocations: 143.6 kB / 1.491 GB, free: 6.469 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.6734, allocations: 16 kB / 1.491 GB, free: 6.453 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000661/0.6741, allocations: 35.12 kB / 1.491 GB, free: 6.422 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.6742, allocations: 47.8 kB / 1.491 GB, free: 6.375 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-05/0.6743, allocations: 31.98 kB / 1.491 GB, free: 6.344 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006479/0.6749, allocations: 447 kB / 1.491 GB, free: 5.914 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6749, allocations: 7.938 kB / 1.491 GB, free: 5.906 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009678/0.6759, allocations: 279.9 kB / 1.491 GB, free: 5.633 MB / 1.186 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.0003667/0.6763, allocations: 184.2 kB / 1.492 GB, free: 5.441 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.6777, allocations: 0.78 MB / 1.492 GB, free: 4.629 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6778, allocations: 0 / 1.492 GB, free: 4.629 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006417/0.6784, allocations: 396.6 kB / 1.493 GB, free: 4.23 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.6806, allocations: 0.4932 MB / 1.493 GB, free: 3.746 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.6838, allocations: 1.862 MB / 1.495 GB, free: 1.805 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005942/0.6844, allocations: 0.4884 MB / 1.496 GB, free: 1.285 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.6847, allocations: 67.42 kB / 1.496 GB, free: 1.219 MB / 1.186 GB Notification: Performance of SimCode: time 7.22e-07/0.6847, allocations: 0 / 1.496 GB, free: 1.219 MB / 1.186 GB Notification: Performance of Templates: time 0.03948/0.7241, allocations: 20.92 MB / 1.516 GB, free: 12.4 MB / 1.217 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: 14.598090927582234]