Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.001764/0.001764, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002236/0.002236, allocations: 162.1 kB / 23.01 MB, free: 4.598 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.435/1.435, allocations: 177.2 MB / 203.4 MB, free: 8.992 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.932/2.932, 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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [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.002161/0.002161, allocations: 71.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9646/0.9668, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2286/1.195, allocations: 168.5 MB / 1.351 GB, free: 13.33 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01077/1.206, allocations: 5.425 MB / 1.356 GB, free: 7.898 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001744/1.208, allocations: 55.5 kB / 1.357 GB, free: 7.844 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002027/1.21, allocations: 0.5513 MB / 1.357 GB, free: 7.289 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005341/1.215, allocations: 1.676 MB / 1.359 GB, free: 5.605 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003883/1.219, allocations: 1.231 MB / 1.36 GB, free: 4.383 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003963/1.223, allocations: 2.6 MB / 1.362 GB, free: 1.781 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/1.224, allocations: 0.7434 MB / 1.363 GB, free: 1.02 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002775/1.227, allocations: 1.277 MB / 1.364 GB, free: 15.74 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/1.229, allocations: 0.873 MB / 1.365 GB, free: 14.87 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002094/1.229, allocations: 108 kB / 1.365 GB, free: 14.76 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/1.232, allocations: 1.274 MB / 1.367 GB, free: 13.48 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006443/1.233, allocations: 0.5142 MB / 1.367 GB, free: 12.97 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008442/1.234, allocations: 0.5368 MB / 1.368 GB, free: 12.43 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003426/1.237, allocations: 2.157 MB / 1.37 GB, free: 10.27 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/1.237, allocations: 0 / 1.37 GB, free: 10.27 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.483e-06/1.237, allocations: 4 kB / 1.37 GB, free: 10.26 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.276e-05/1.237, allocations: 0 / 1.37 GB, free: 10.26 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002638/1.24, allocations: 1.469 MB / 1.371 GB, free: 8.754 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.24, allocations: 8.031 kB / 1.371 GB, free: 8.746 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003191/1.243, allocations: 486.7 kB / 1.372 GB, free: 8.273 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/1.245, allocations: 0.7876 MB / 1.372 GB, free: 7.457 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/1.245, allocations: 66 kB / 1.372 GB, free: 7.395 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/1.245, allocations: 87.98 kB / 1.373 GB, free: 7.309 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/1.248, allocations: 1.555 MB / 1.374 GB, free: 5.637 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/1.248, allocations: 4 kB / 1.374 GB, free: 5.633 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/1.248, allocations: 36 kB / 1.374 GB, free: 5.598 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.062e-05/1.248, allocations: 37.98 kB / 1.374 GB, free: 5.562 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002562/1.251, allocations: 1.058 MB / 1.375 GB, free: 4.504 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.007016/1.258, allocations: 3.142 MB / 1.378 GB, free: 1.281 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/1.26, allocations: 0.7247 MB / 1.379 GB, free: 0.5469 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009876/1.261, allocations: 384.6 kB / 1.379 GB, free: 172 kB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/1.261, allocations: 23.98 kB / 1.379 GB, free: 148 kB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/1.261, allocations: 39.28 kB / 1.379 GB, free: 100 kB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.244e-06/1.261, allocations: 0 / 1.379 GB, free: 100 kB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.006233/1.267, allocations: 2.103 MB / 1.381 GB, free: 13.96 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/1.267, allocations: 55.41 kB / 1.381 GB, free: 13.89 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009599/1.268, allocations: 0.6682 MB / 1.382 GB, free: 13.21 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/1.268, allocations: 37.7 kB / 1.382 GB, free: 13.17 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004095/1.269, allocations: 0.5037 MB / 1.383 GB, free: 12.66 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/1.269, allocations: 174.6 kB / 1.383 GB, free: 12.49 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/1.269, allocations: 122.2 kB / 1.383 GB, free: 12.36 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002171/1.269, allocations: 378.8 kB / 1.383 GB, free: 11.98 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/1.27, allocations: 377 kB / 1.384 GB, free: 11.62 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/1.272, allocations: 0.5476 MB / 1.384 GB, free: 11 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.006727/1.278, allocations: 2.18 MB / 1.386 GB, free: 8.77 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.278, allocations: 4 kB / 1.386 GB, free: 8.766 MB / 1.232 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002548/1.281, allocations: 0.9694 MB / 1.387 GB, free: 7.789 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.281, allocations: 8 kB / 1.387 GB, free: 7.781 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.281, allocations: 4 kB / 1.387 GB, free: 7.777 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/1.281, allocations: 12.12 kB / 1.387 GB, free: 7.766 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.282, allocations: 183.7 kB / 1.387 GB, free: 7.586 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.282, allocations: 15.94 kB / 1.388 GB, free: 7.57 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000984/1.283, allocations: 63.88 kB / 1.388 GB, free: 7.508 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/1.283, allocations: 35.98 kB / 1.388 GB, free: 7.473 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: 17 * 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005384/1.284, allocations: 309.5 kB / 1.388 GB, free: 7.16 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/1.284, allocations: 83.48 kB / 1.388 GB, free: 7.078 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/1.284, allocations: 87.12 kB / 1.388 GB, free: 6.988 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.284, allocations: 4 kB / 1.388 GB, free: 6.984 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.284, allocations: 7.875 kB / 1.388 GB, free: 6.977 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002181/1.286, allocations: 1.026 MB / 1.389 GB, free: 5.863 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004692/1.291, allocations: 1.887 MB / 1.391 GB, free: 3.898 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.291, allocations: 8 kB / 1.391 GB, free: 3.891 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009094/1.292, allocations: 164 kB / 1.391 GB, free: 3.73 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/1.292, allocations: 4 kB / 1.391 GB, free: 3.727 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/1.292, allocations: 19.98 kB / 1.391 GB, free: 3.707 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/1.292, allocations: 4 kB / 1.391 GB, free: 3.703 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.292, allocations: 7.938 kB / 1.391 GB, free: 3.695 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003293/1.295, allocations: 1.396 MB / 1.392 GB, free: 2.238 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/1.296, allocations: 163.4 kB / 1.393 GB, free: 2.078 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/1.296, allocations: 16 kB / 1.393 GB, free: 2.062 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008899/1.297, allocations: 69.52 kB / 1.393 GB, free: 1.996 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.508e-05/1.297, allocations: 43.81 kB / 1.393 GB, free: 1.953 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.499e-05/1.297, allocations: 27.98 kB / 1.393 GB, free: 1.926 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007959/1.298, allocations: 463 kB / 1.393 GB, free: 1.477 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.298, allocations: 0 / 1.393 GB, free: 1.477 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009023/1.298, allocations: 263.9 kB / 1.393 GB, free: 1.219 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003832/1.299, allocations: 197.5 kB / 1.394 GB, free: 1.016 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002249/1.301, allocations: 0.7848 MB / 1.394 GB, free: 240 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.301, allocations: 11.94 kB / 1.394 GB, free: 228 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.302, allocations: 380.5 kB / 1.395 GB, free: 15.85 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.304, allocations: 455.4 kB / 1.395 GB, free: 15.42 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/1.31, allocations: 2.174 MB / 1.397 GB, free: 13.17 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/1.31, allocations: 0.5118 MB / 1.398 GB, free: 12.62 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008196/1.311, allocations: 226.3 kB / 1.398 GB, free: 12.39 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/1.311, allocations: 72.45 kB / 1.398 GB, free: 12.32 MB / 1.248 GB Notification: Performance of SimCode: time 5.41e-07/1.311, allocations: 11.88 kB / 1.398 GB, free: 12.31 MB / 1.248 GB Notification: Performance of Templates: time 0.03272/1.344, allocations: 18.27 MB / 1.416 GB, free: 10.46 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.883086428046227]