Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.001307/0.001307, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.001393/0.001393, allocations: 156.7 kB / 23.01 MB, free: 4.961 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.41/1.41, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.863/2.863, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") [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.002094/0.002094, allocations: 72.16 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9008/0.9029, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2218/1.125, allocations: 168.6 MB / 1.351 GB, free: 13.21 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01097/1.136, allocations: 5.443 MB / 1.357 GB, free: 7.762 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/1.137, allocations: 59.5 kB / 1.357 GB, free: 7.703 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/1.139, allocations: 0.5552 MB / 1.357 GB, free: 7.145 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004813/1.143, allocations: 1.7 MB / 1.359 GB, free: 5.438 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/1.147, allocations: 1.225 MB / 1.36 GB, free: 4.219 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00395/1.151, allocations: 2.611 MB / 1.363 GB, free: 1.605 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/1.152, allocations: 0.6799 MB / 1.363 GB, free: 0.9062 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/1.155, allocations: 1.281 MB / 1.364 GB, free: 15.62 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/1.157, allocations: 0.8185 MB / 1.365 GB, free: 14.8 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/1.158, allocations: 96 kB / 1.365 GB, free: 14.71 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/1.16, allocations: 1.27 MB / 1.367 GB, free: 13.44 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005182/1.161, allocations: 418.7 kB / 1.367 GB, free: 13.03 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007277/1.162, allocations: 497.9 kB / 1.367 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003177/1.165, allocations: 1.997 MB / 1.369 GB, free: 10.54 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.165, allocations: 0 / 1.369 GB, free: 10.54 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.573e-06/1.165, allocations: 0 / 1.369 GB, free: 10.54 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.583e-05/1.165, allocations: 0 / 1.369 GB, free: 10.54 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.00261/1.167, allocations: 1.395 MB / 1.371 GB, free: 9.105 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.167, allocations: 8.031 kB / 1.371 GB, free: 9.098 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/1.17, allocations: 422.9 kB / 1.371 GB, free: 8.684 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/1.172, allocations: 0.7392 MB / 1.372 GB, free: 7.914 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.017e-05/1.172, allocations: 54 kB / 1.372 GB, free: 7.863 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/1.172, allocations: 76 kB / 1.372 GB, free: 7.789 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/1.174, allocations: 1.363 MB / 1.373 GB, free: 6.312 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/1.174, allocations: 0 / 1.373 GB, free: 6.312 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/1.175, allocations: 32 kB / 1.373 GB, free: 6.281 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/1.175, allocations: 33.94 kB / 1.373 GB, free: 6.25 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/1.177, allocations: 0.8588 MB / 1.374 GB, free: 5.391 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.005959/1.183, allocations: 2.632 MB / 1.377 GB, free: 2.699 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/1.184, allocations: 0.5852 MB / 1.377 GB, free: 2.105 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/1.185, allocations: 323.3 kB / 1.378 GB, free: 1.789 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/1.185, allocations: 24.31 kB / 1.378 GB, free: 1.766 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/1.185, allocations: 39.22 kB / 1.378 GB, free: 1.719 MB / 1.217 GB Notification: Performance of pre-optimization done (n=39): time 2.094e-06/1.185, allocations: 0 / 1.378 GB, free: 1.719 MB / 1.217 GB Notification: Performance of matching and sorting (n=41): time 0.008345/1.194, allocations: 2.234 MB / 1.38 GB, free: 15.45 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/1.194, allocations: 59.34 kB / 1.38 GB, free: 15.38 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008558/1.195, allocations: 0.6291 MB / 1.381 GB, free: 14.73 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/1.195, allocations: 37.7 kB / 1.381 GB, free: 14.69 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/1.195, allocations: 468 kB / 1.381 GB, free: 14.23 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/1.195, allocations: 150.7 kB / 1.381 GB, free: 14.08 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/1.195, allocations: 118.2 kB / 1.381 GB, free: 13.96 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002186/1.196, allocations: 374.8 kB / 1.382 GB, free: 13.59 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008164/1.197, allocations: 297.1 kB / 1.382 GB, free: 13.3 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009328/1.197, allocations: 468.5 kB / 1.382 GB, free: 12.79 MB / 1.232 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.005673/1.203, allocations: 1.801 MB / 1.384 GB, free: 10.95 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.203, allocations: 0 / 1.384 GB, free: 10.95 MB / 1.232 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003513/1.207, allocations: 1.021 MB / 1.385 GB, free: 9.922 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.207, allocations: 8.094 kB / 1.385 GB, free: 9.914 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.207, allocations: 7.938 kB / 1.385 GB, free: 9.906 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006831/1.207, allocations: 184.7 kB / 1.385 GB, free: 9.723 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007132/1.208, allocations: 143.8 kB / 1.386 GB, free: 9.582 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00434/1.212, allocations: 2.087 MB / 1.388 GB, free: 7.395 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.213, allocations: 56 kB / 1.388 GB, free: 7.34 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/1.213, allocations: 20 kB / 1.388 GB, free: 7.32 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 (59): * Single equations (assignments): 58 * 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 prepare postOptimizeDAE: time 0.0004899/1.214, allocations: 266.4 kB / 1.388 GB, free: 7.051 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.214, allocations: 79.47 kB / 1.388 GB, free: 6.973 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/1.214, allocations: 86.83 kB / 1.388 GB, free: 6.883 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/1.214, allocations: 8 kB / 1.388 GB, free: 6.875 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.214, allocations: 0 / 1.388 GB, free: 6.875 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002993/1.217, allocations: 0.8869 MB / 1.389 GB, free: 5.953 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005437/1.223, allocations: 1.872 MB / 1.391 GB, free: 4 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.223, allocations: 4.406 kB / 1.391 GB, free: 3.996 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006997/1.223, allocations: 123.8 kB / 1.391 GB, free: 3.875 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005886/1.224, allocations: 192.8 kB / 1.391 GB, free: 3.684 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.403e-05/1.224, allocations: 19.98 kB / 1.391 GB, free: 3.664 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003969/1.228, allocations: 2.034 MB / 1.393 GB, free: 1.523 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.228, allocations: 4 kB / 1.393 GB, free: 1.52 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/1.232, allocations: 1.402 MB / 1.394 GB, free: 56 kB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/1.233, allocations: 151.6 kB / 1.395 GB, free: 15.9 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.669e-05/1.233, allocations: 15.94 kB / 1.395 GB, free: 15.89 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008666/1.234, allocations: 68.34 kB / 1.395 GB, free: 15.82 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/1.234, allocations: 39.88 kB / 1.395 GB, free: 15.79 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/1.234, allocations: 27.98 kB / 1.395 GB, free: 15.76 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0005955/1.234, allocations: 439 kB / 1.395 GB, free: 15.34 MB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/1.234, allocations: 0 / 1.395 GB, free: 15.34 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009187/1.235, allocations: 267.9 kB / 1.395 GB, free: 15.07 MB / 1.248 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 (37): * Single equations (assignments): 36 * 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.0003777/1.236, allocations: 198.1 kB / 1.396 GB, free: 14.88 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002253/1.238, allocations: 0.7823 MB / 1.396 GB, free: 14.08 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.238, allocations: 4 kB / 1.396 GB, free: 14.07 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/1.239, allocations: 443.5 kB / 1.397 GB, free: 13.63 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/1.241, allocations: 433.5 kB / 1.397 GB, free: 13.21 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/1.246, allocations: 1.916 MB / 1.399 GB, free: 11.22 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/1.246, allocations: 457.8 kB / 1.4 GB, free: 10.75 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006426/1.247, allocations: 177.8 kB / 1.4 GB, free: 10.57 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/1.247, allocations: 60.48 kB / 1.4 GB, free: 10.51 MB / 1.248 GB Notification: Performance of SimCode: time 6.92e-07/1.247, allocations: 0 / 1.4 GB, free: 10.51 MB / 1.248 GB Notification: Performance of Templates: time 0.03824/1.285, allocations: 17.9 MB / 1.417 GB, free: 9 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.557082351995632]