Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.000335, allocations: 14.08 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2731, allocations: 159.6 MB / 1.058 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1781/0.4512, allocations: 173.3 MB / 1.227 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00821/0.4595, allocations: 5.384 MB / 1.233 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009372/0.4604, allocations: 35.75 kB / 1.233 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.4616, allocations: 397.5 kB / 1.233 GB, free: 1.777 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003747/0.4654, allocations: 1.376 MB / 1.234 GB, free: 404 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.4678, allocations: 0.8438 MB / 1.235 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003878/0.4717, allocations: 3.446 MB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.4729, allocations: 0.8057 MB / 1.239 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.4745, allocations: 0.8791 MB / 1.24 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.4759, allocations: 0.9068 MB / 1.241 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.476, allocations: 48 kB / 1.241 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.4781, allocations: 0.7093 MB / 1.242 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005423/0.4787, allocations: 0.4947 MB / 1.242 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.4791, allocations: 277.1 kB / 1.242 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.4808, allocations: 1.629 MB / 1.244 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4808, allocations: 0 / 1.244 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4808, allocations: 0 / 1.244 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.4808, allocations: 4 kB / 1.244 GB, free: 6.32 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002244/0.4831, allocations: 1.376 MB / 1.245 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4831, allocations: 15.97 kB / 1.245 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.4851, allocations: 330.2 kB / 1.246 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.4865, allocations: 0.8479 MB / 1.247 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/0.4866, allocations: 70 kB / 1.247 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.4867, allocations: 96 kB / 1.247 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.4886, allocations: 1.089 MB / 1.248 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.4887, allocations: 0 / 1.248 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.4888, allocations: 44 kB / 1.248 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.77e-05/0.4888, allocations: 37.98 kB / 1.248 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.4906, allocations: 0.9955 MB / 1.249 GB, free: 1.328 MB / 0.9981 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.5017/0.9923, allocations: 4.257 MB / 1.253 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008887/0.9932, allocations: 0.5969 MB / 1.254 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005142/0.9938, allocations: 343.7 kB / 1.254 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.9939, allocations: 106.2 kB / 1.254 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.994, allocations: 47.84 kB / 1.254 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 2.544e-06/0.994, allocations: 0 / 1.254 GB, free: 190.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=55): time 0.003877/0.9979, allocations: 2.22 MB / 1.256 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.9979, allocations: 61.03 kB / 1.256 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009143/0.9988, allocations: 0.8721 MB / 1.257 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.9989, allocations: 42.39 kB / 1.257 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002697/0.9992, allocations: 0.5135 MB / 1.258 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.9993, allocations: 188.8 kB / 1.258 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.9994, allocations: 13.44 kB / 1.258 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.687e-05/0.9994, allocations: 338.9 kB / 1.258 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.9999, allocations: 291.3 kB / 1.258 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004861/1, allocations: 439 kB / 1.259 GB, free: 188.3 MB / 0.9981 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.002751/1.003, allocations: 1.106 MB / 1.26 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.003, allocations: 0.5156 kB / 1.26 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001455/1.005, allocations: 0.928 MB / 1.261 GB, free: 188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.005, allocations: 10.25 kB / 1.261 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.005, allocations: 3.469 kB / 1.261 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/1.005, allocations: 96.81 kB / 1.261 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/1.006, allocations: 178.5 kB / 1.261 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002553/1.008, allocations: 4.28 MB / 1.265 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.009, allocations: 70.06 kB / 1.265 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/1.009, allocations: 33.25 kB / 1.265 GB, free: 184.2 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000541/1.01, allocations: 340.5 kB / 1.266 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.01, allocations: 101.5 kB / 1.266 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/1.01, allocations: 108.5 kB / 1.266 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.01, allocations: 8.969 kB / 1.266 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/1.01, allocations: 0 / 1.266 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/1.011, allocations: 0.7861 MB / 1.267 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/1.015, allocations: 2.003 MB / 1.269 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.015, allocations: 2.938 kB / 1.269 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007397/1.015, allocations: 155 kB / 1.269 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001112/1.015, allocations: 43.62 kB / 1.269 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/1.015, allocations: 16.05 kB / 1.269 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/1.017, allocations: 1.481 MB / 1.27 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.017, allocations: 14.89 kB / 1.27 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/1.019, allocations: 1.219 MB / 1.272 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000532/1.019, allocations: 253 kB / 1.272 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.019, allocations: 15.89 kB / 1.272 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007894/1.02, allocations: 74.97 kB / 1.272 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/1.02, allocations: 56.66 kB / 1.272 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/1.02, allocations: 30.02 kB / 1.272 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008925/1.021, allocations: 0.6057 MB / 1.273 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.021, allocations: 0 / 1.273 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001184/1.022, allocations: 308.7 kB / 1.273 GB, free: 181.4 MB / 0.9981 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004603/1.023, allocations: 190.2 kB / 1.273 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001658/1.025, allocations: 0.9996 MB / 1.274 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.025, allocations: 3.062 kB / 1.274 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006823/1.025, allocations: 451.1 kB / 1.274 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/1.028, allocations: 0.6293 MB / 1.275 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/1.032, allocations: 2.511 MB / 1.278 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007757/1.033, allocations: 1.165 MB / 1.279 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001186/1.034, allocations: 254.6 kB / 1.279 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/1.034, allocations: 75.59 kB / 1.279 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of SimCode: time 6.62e-07/1.034, allocations: 0 / 1.279 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03396/1.068, allocations: 20.56 MB / 1.299 GB, free: 170.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches