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.001401/0.001401, allocations: 100.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.001531/0.001531, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.824 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 3.125/3.125, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] 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.00212/0.00212, allocations: 70.25 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2299/0.5873, allocations: 168.6 MB / 1.491 GB, free: 8.672 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.5982, allocations: 5.449 MB / 1.496 GB, free: 3.207 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.5999, allocations: 55.56 kB / 1.496 GB, free: 3.152 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.6018, allocations: 0.5591 MB / 1.497 GB, free: 2.59 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005649/0.6074, allocations: 1.929 MB / 1.499 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.611, allocations: 1.205 MB / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004693/0.6157, allocations: 3.001 MB / 1.503 GB, free: 12.45 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.6172, allocations: 0.7319 MB / 1.504 GB, free: 11.7 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003067/0.6203, allocations: 1.327 MB / 1.505 GB, free: 10.37 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002406/0.6227, allocations: 0.9294 MB / 1.506 GB, free: 9.445 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.623, allocations: 108 kB / 1.506 GB, free: 9.34 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.626, allocations: 1.181 MB / 1.507 GB, free: 8.156 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006958/0.6267, allocations: 474.6 kB / 1.507 GB, free: 7.691 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009663/0.6277, allocations: 0.5446 MB / 1.508 GB, free: 7.145 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003813/0.6315, allocations: 2.11 MB / 1.51 GB, free: 5.027 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.6315, allocations: 0 / 1.51 GB, free: 5.027 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6315, allocations: 0 / 1.51 GB, free: 5.027 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.625e-05/0.6315, allocations: 0 / 1.51 GB, free: 5.027 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.002732/0.6343, allocations: 1.481 MB / 1.511 GB, free: 3.508 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.6343, allocations: 11.97 kB / 1.512 GB, free: 3.496 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.6363, allocations: 334.9 kB / 1.512 GB, free: 3.168 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.638, allocations: 0.7722 MB / 1.513 GB, free: 2.367 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.18e-05/0.638, allocations: 66 kB / 1.513 GB, free: 2.305 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.6382, allocations: 84 kB / 1.513 GB, free: 2.223 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.6402, allocations: 1.361 MB / 1.514 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.6402, allocations: 0 / 1.514 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-05/0.6403, allocations: 40 kB / 1.514 GB, free: 0.7031 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.6403, allocations: 33.98 kB / 1.514 GB, free: 0.668 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.6419, allocations: 0.8276 MB / 1.515 GB, free: 15.84 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.005346/0.6473, allocations: 2.375 MB / 1.517 GB, free: 13.42 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008587/0.6481, allocations: 485.7 kB / 1.518 GB, free: 12.94 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/0.6486, allocations: 274 kB / 1.518 GB, free: 12.66 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.6488, allocations: 24.42 kB / 1.518 GB, free: 12.64 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.6488, allocations: 39 kB / 1.518 GB, free: 12.59 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/0.6488, allocations: 0 / 1.518 GB, free: 12.59 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.004179/0.653, allocations: 1.699 MB / 1.52 GB, free: 10.86 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.653, allocations: 55.84 kB / 1.52 GB, free: 10.79 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.6539, allocations: 0.6488 MB / 1.52 GB, free: 10.13 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/0.654, allocations: 37.7 kB / 1.52 GB, free: 10.09 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/0.6544, allocations: 500 kB / 1.521 GB, free: 9.594 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.6546, allocations: 186.4 kB / 1.521 GB, free: 9.41 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/0.6548, allocations: 110.3 kB / 1.521 GB, free: 9.297 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002252/0.655, allocations: 382.7 kB / 1.522 GB, free: 8.914 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.6555, allocations: 245.2 kB / 1.522 GB, free: 8.676 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/0.6561, allocations: 404.6 kB / 1.522 GB, free: 8.23 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.003846/0.6599, allocations: 1.452 MB / 1.524 GB, free: 6.742 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6599, allocations: 8 kB / 1.524 GB, free: 6.734 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001416/0.6613, allocations: 0.7717 MB / 1.524 GB, free: 5.953 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.6614, allocations: 8 kB / 1.524 GB, free: 5.945 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6614, allocations: 0 / 1.524 GB, free: 5.945 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003157/0.6617, allocations: 101.9 kB / 1.524 GB, free: 5.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.6623, allocations: 143.8 kB / 1.525 GB, free: 5.699 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.6656, allocations: 3.037 MB / 1.528 GB, free: 2.457 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/0.6664, allocations: 31.88 kB / 1.528 GB, free: 2.426 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.152e-05/0.6665, allocations: 20 kB / 1.528 GB, free: 2.406 MB / 1.217 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.0005342/0.667, allocations: 313.6 kB / 1.528 GB, free: 2.09 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.6671, allocations: 79.53 kB / 1.528 GB, free: 2.012 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001727/0.6673, allocations: 83.36 kB / 1.528 GB, free: 1.926 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.6673, allocations: 7.938 kB / 1.528 GB, free: 1.918 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.6673, allocations: 0 / 1.528 GB, free: 1.918 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001171/0.6685, allocations: 0.8388 MB / 1.529 GB, free: 0.9883 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002975/0.6715, allocations: 1.537 MB / 1.53 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.6715, allocations: 7.938 kB / 1.53 GB, free: 15.36 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/0.6721, allocations: 124.3 kB / 1.531 GB, free: 15.23 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/0.6724, allocations: 68.8 kB / 1.531 GB, free: 15.16 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.6724, allocations: 12 kB / 1.531 GB, free: 15.15 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.6743, allocations: 1.66 MB / 1.532 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.6743, allocations: 7.984 kB / 1.532 GB, free: 13.39 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.6762, allocations: 1.054 MB / 1.533 GB, free: 12.28 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004854/0.6767, allocations: 151.4 kB / 1.533 GB, free: 12.13 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.6768, allocations: 16 kB / 1.533 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.6775, allocations: 29.42 kB / 1.533 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.6776, allocations: 55.78 kB / 1.533 GB, free: 12.03 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/0.6777, allocations: 27.98 kB / 1.534 GB, free: 12 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006397/0.6783, allocations: 451 kB / 1.534 GB, free: 11.57 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.6783, allocations: 0 / 1.534 GB, free: 11.57 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009206/0.6792, allocations: 283.9 kB / 1.534 GB, free: 11.29 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.0003607/0.6796, allocations: 187.4 kB / 1.534 GB, free: 11.11 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.6811, allocations: 0.7727 MB / 1.535 GB, free: 10.3 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.6811, allocations: 4 kB / 1.535 GB, free: 10.3 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006522/0.6818, allocations: 406.2 kB / 1.536 GB, free: 9.887 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.6841, allocations: 0.4973 MB / 1.536 GB, free: 9.402 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.6875, allocations: 1.863 MB / 1.538 GB, free: 7.457 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.6881, allocations: 0.4884 MB / 1.538 GB, free: 6.938 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.6884, allocations: 63.42 kB / 1.538 GB, free: 6.875 MB / 1.232 GB Notification: Performance of SimCode: time 1.062e-06/0.6884, allocations: 0 / 1.538 GB, free: 6.875 MB / 1.232 GB Notification: Performance of Templates: time 0.03108/0.7194, allocations: 20.91 MB / 1.559 GB, free: 2.055 MB / 1.248 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: 14.542206627316773]