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.001467/0.001467, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.001653/0.001653, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.914/2.914, allocations: 0.49 GB / 0.7958 GB, free: 33.39 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.001891/0.001891, allocations: 64.12 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2902, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2032/0.4934, allocations: 194.6 MB / 1.517 GB, free: 14.12 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.00927/0.5027, allocations: 5.787 MB / 1.523 GB, free: 8.32 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.5039, allocations: 59.5 kB / 1.523 GB, free: 8.262 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001489/0.5054, allocations: 0.6059 MB / 1.523 GB, free: 7.652 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004332/0.5097, allocations: 1.949 MB / 1.525 GB, free: 5.695 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003117/0.5128, allocations: 1.245 MB / 1.527 GB, free: 4.457 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004012/0.5168, allocations: 3.025 MB / 1.53 GB, free: 1.422 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.5183, allocations: 0.7396 MB / 1.53 GB, free: 0.6719 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.5218, allocations: 1.316 MB / 1.532 GB, free: 15.35 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.5239, allocations: 0.9741 MB / 1.533 GB, free: 14.38 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.5241, allocations: 108 kB / 1.533 GB, free: 14.28 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.5268, allocations: 1.528 MB / 1.534 GB, free: 12.75 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0004662/0.5273, allocations: 482.5 kB / 1.535 GB, free: 12.27 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0007203/0.528, allocations: 0.6573 MB / 1.535 GB, free: 11.61 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.00269/0.5307, allocations: 2.149 MB / 1.537 GB, free: 9.457 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5307, allocations: 0 / 1.537 GB, free: 9.457 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5307, allocations: 0 / 1.537 GB, free: 9.457 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.5307, allocations: 0 / 1.537 GB, free: 9.457 MB / 1.232 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.002374/0.5331, allocations: 1.477 MB / 1.539 GB, free: 7.941 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.5331, allocations: 8.031 kB / 1.539 GB, free: 7.934 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.5349, allocations: 315 kB / 1.539 GB, free: 7.625 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.5363, allocations: 0.7838 MB / 1.54 GB, free: 6.812 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.049e-05/0.5364, allocations: 66 kB / 1.54 GB, free: 6.75 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.5365, allocations: 87.98 kB / 1.54 GB, free: 6.664 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/0.538, allocations: 0.9091 MB / 1.541 GB, free: 5.746 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.538, allocations: 0 / 1.541 GB, free: 5.746 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-05/0.5381, allocations: 36 kB / 1.541 GB, free: 5.711 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.5381, allocations: 37.98 kB / 1.541 GB, free: 5.672 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.5395, allocations: 0.8198 MB / 1.542 GB, free: 4.855 MB / 1.232 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.005305/0.5448, allocations: 3.479 MB / 1.545 GB, free: 1.156 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.5456, allocations: 482.2 kB / 1.546 GB, free: 0.6758 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.546, allocations: 278 kB / 1.546 GB, free: 408 kB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001453/0.5462, allocations: 24.42 kB / 1.546 GB, free: 384 kB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.5462, allocations: 43 kB / 1.546 GB, free: 332 kB / 1.232 GB Notification: Performance of pre-optimization done (n=47): time 1.944e-06/0.5462, allocations: 0 / 1.546 GB, free: 332 kB / 1.232 GB Notification: Performance of matching and sorting (n=49): time 0.003691/0.5499, allocations: 1.706 MB / 1.548 GB, free: 14.58 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.5499, allocations: 55.84 kB / 1.548 GB, free: 14.51 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009929/0.5509, allocations: 0.8059 MB / 1.548 GB, free: 13.7 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.551, allocations: 37.7 kB / 1.548 GB, free: 13.65 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003652/0.5514, allocations: 488.2 kB / 1.549 GB, free: 13.17 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.5515, allocations: 186.4 kB / 1.549 GB, free: 12.99 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.5517, allocations: 114.3 kB / 1.549 GB, free: 12.87 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5518, allocations: 329.9 kB / 1.55 GB, free: 12.54 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.5523, allocations: 241.2 kB / 1.55 GB, free: 12.31 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.5528, allocations: 361.1 kB / 1.55 GB, free: 11.92 MB / 1.248 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.00358/0.5564, allocations: 1.452 MB / 1.552 GB, free: 10.43 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5564, allocations: 0 / 1.552 GB, free: 10.43 MB / 1.248 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001337/0.5577, allocations: 0.7838 MB / 1.552 GB, free: 9.637 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5577, allocations: 11.98 kB / 1.552 GB, free: 9.625 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5577, allocations: 4 kB / 1.552 GB, free: 9.621 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.558, allocations: 85.66 kB / 1.552 GB, free: 9.531 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/0.5587, allocations: 155.8 kB / 1.553 GB, free: 9.379 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.5617, allocations: 3.093 MB / 1.556 GB, free: 6.055 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/0.5624, allocations: 35.88 kB / 1.556 GB, free: 6.02 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/0.5625, allocations: 20 kB / 1.556 GB, free: 6 MB / 1.248 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.0004735/0.563, allocations: 305.5 kB / 1.556 GB, free: 5.691 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.5631, allocations: 99.5 kB / 1.556 GB, free: 5.594 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001752/0.5633, allocations: 96.72 kB / 1.556 GB, free: 5.496 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5633, allocations: 8 kB / 1.556 GB, free: 5.488 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.5633, allocations: 0 / 1.556 GB, free: 5.488 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001064/0.5644, allocations: 0.8466 MB / 1.557 GB, free: 4.551 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002816/0.5672, allocations: 1.759 MB / 1.559 GB, free: 2.695 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.5672, allocations: 8 kB / 1.559 GB, free: 2.688 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005824/0.5678, allocations: 127.8 kB / 1.559 GB, free: 2.562 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002186/0.568, allocations: 73.16 kB / 1.559 GB, free: 2.488 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.804e-05/0.568, allocations: 16 kB / 1.559 GB, free: 2.473 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.5697, allocations: 1.682 MB / 1.56 GB, free: 0.6797 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.5697, allocations: 4 kB / 1.561 GB, free: 0.6758 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.5713, allocations: 1.07 MB / 1.562 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004169/0.5717, allocations: 163.3 kB / 1.562 GB, free: 15.39 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.5718, allocations: 20.11 kB / 1.562 GB, free: 15.37 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/0.5724, allocations: 29 kB / 1.562 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.5725, allocations: 51.92 kB / 1.562 GB, free: 15.29 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.5726, allocations: 27.98 kB / 1.562 GB, free: 15.27 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0007207/0.5733, allocations: 0.5576 MB / 1.562 GB, free: 14.71 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5733, allocations: 7.938 kB / 1.562 GB, free: 14.71 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008313/0.5742, allocations: 280 kB / 1.563 GB, free: 14.43 MB / 1.264 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.000312/0.5745, allocations: 175 kB / 1.563 GB, free: 14.25 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001292/0.5758, allocations: 0.7798 MB / 1.564 GB, free: 13.44 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5758, allocations: 4 kB / 1.564 GB, free: 13.43 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005642/0.5763, allocations: 395.7 kB / 1.564 GB, free: 13.04 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.5787, allocations: 0.603 MB / 1.565 GB, free: 12.45 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.5815, allocations: 1.904 MB / 1.566 GB, free: 10.46 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/0.5823, allocations: 1.084 MB / 1.567 GB, free: 9.348 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.5825, allocations: 71.44 kB / 1.568 GB, free: 9.277 MB / 1.264 GB Notification: Performance of SimCode: time 1.052e-06/0.5825, allocations: 4 kB / 1.568 GB, free: 9.273 MB / 1.264 GB Notification: Performance of Templates: time 0.02746/0.6099, allocations: 22.09 MB / 1.589 GB, free: 3.309 MB / 1.279 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: 13.490059000992915]