Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.008702/0.008702, allocations: 98.95 kB / 15.73 MB, free: 6.012 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.00223/0.00223, allocations: 196.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.638/2.638, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 1.065 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.821, allocations: 159.1 MB / 1.221 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2209/1.042, allocations: 191 MB / 1.407 GB, free: 2.402 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01071/1.053, allocations: 5.717 MB / 1.413 GB, free: 12.68 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/1.054, allocations: 43.75 kB / 1.413 GB, free: 12.63 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/1.057, allocations: 0.5941 MB / 1.413 GB, free: 12.04 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005404/1.062, allocations: 1.903 MB / 1.415 GB, free: 10.12 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003478/1.065, allocations: 1.206 MB / 1.416 GB, free: 8.926 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00438/1.07, allocations: 2.948 MB / 1.419 GB, free: 5.969 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/1.071, allocations: 0.9418 MB / 1.42 GB, free: 5.008 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/1.074, allocations: 1.109 MB / 1.421 GB, free: 3.895 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002287/1.076, allocations: 0.9623 MB / 1.422 GB, free: 2.934 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003834/1.076, allocations: 120 kB / 1.422 GB, free: 2.816 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/1.08, allocations: 1.45 MB / 1.424 GB, free: 1.363 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0008815/1.081, allocations: 0.5804 MB / 1.424 GB, free: 0.7812 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/1.082, allocations: 0.7156 MB / 1.425 GB, free: 64 kB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003983/1.086, allocations: 2.34 MB / 1.427 GB, free: 13.71 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.086, allocations: 4 kB / 1.427 GB, free: 13.71 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.623e-06/1.086, allocations: 0 / 1.427 GB, free: 13.71 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.12e-05/1.086, allocations: 3.938 kB / 1.427 GB, free: 13.71 MB / 1.154 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.003023/1.089, allocations: 1.653 MB / 1.429 GB, free: 12 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.089, allocations: 8.031 kB / 1.429 GB, free: 11.99 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/1.091, allocations: 342.9 kB / 1.429 GB, free: 11.65 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/1.093, allocations: 0.9182 MB / 1.43 GB, free: 10.69 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.985e-05/1.093, allocations: 70 kB / 1.43 GB, free: 10.62 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/1.093, allocations: 104 kB / 1.43 GB, free: 10.52 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/1.095, allocations: 1.085 MB / 1.431 GB, free: 9.434 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/1.095, allocations: 0 / 1.431 GB, free: 9.434 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/1.095, allocations: 40 kB / 1.431 GB, free: 9.395 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.186e-05/1.095, allocations: 41.98 kB / 1.431 GB, free: 9.352 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/1.097, allocations: 0.9954 MB / 1.432 GB, free: 8.355 MB / 1.154 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.005945/1.103, allocations: 4.233 MB / 1.437 GB, free: 3.824 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008486/1.103, allocations: 0.5757 MB / 1.437 GB, free: 3.242 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/1.104, allocations: 322.5 kB / 1.437 GB, free: 2.922 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/1.104, allocations: 109.5 kB / 1.438 GB, free: 2.797 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.104, allocations: 46.98 kB / 1.438 GB, free: 2.742 MB / 1.154 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/1.104, allocations: 0 / 1.438 GB, free: 2.742 MB / 1.154 GB Notification: Performance of matching and sorting (n=55): time 0.00387/1.108, allocations: 2.21 MB / 1.44 GB, free: 424 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/1.108, allocations: 71.89 kB / 1.44 GB, free: 340 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/1.109, allocations: 0.8765 MB / 1.441 GB, free: 15.45 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/1.109, allocations: 41.7 kB / 1.441 GB, free: 15.4 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/1.109, allocations: 0.5235 MB / 1.441 GB, free: 14.87 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/1.11, allocations: 210.2 kB / 1.441 GB, free: 14.66 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/1.11, allocations: 134.5 kB / 1.442 GB, free: 14.53 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.11, allocations: 330 kB / 1.442 GB, free: 14.2 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/1.11, allocations: 293.8 kB / 1.442 GB, free: 13.91 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/1.111, allocations: 436.9 kB / 1.443 GB, free: 13.43 MB / 1.17 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.003809/1.115, allocations: 1.73 MB / 1.444 GB, free: 11.64 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.115, allocations: 4 kB / 1.444 GB, free: 11.63 MB / 1.17 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00146/1.116, allocations: 0.9224 MB / 1.445 GB, free: 10.7 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.116, allocations: 8 kB / 1.445 GB, free: 10.69 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.116, allocations: 7.984 kB / 1.445 GB, free: 10.68 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/1.116, allocations: 102.8 kB / 1.445 GB, free: 10.57 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/1.117, allocations: 163.8 kB / 1.445 GB, free: 10.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/1.121, allocations: 4.637 MB / 1.45 GB, free: 5.355 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/1.122, allocations: 35.88 kB / 1.45 GB, free: 5.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/1.122, allocations: 28 kB / 1.45 GB, free: 5.293 MB / 1.17 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005501/1.122, allocations: 343.2 kB / 1.45 GB, free: 4.949 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/1.122, allocations: 103.4 kB / 1.45 GB, free: 4.848 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/1.123, allocations: 117.2 kB / 1.451 GB, free: 4.73 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.123, allocations: 4 kB / 1.451 GB, free: 4.727 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.123, allocations: 4 kB / 1.451 GB, free: 4.723 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/1.124, allocations: 0.7652 MB / 1.451 GB, free: 3.902 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/1.127, allocations: 1.992 MB / 1.453 GB, free: 1.805 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.127, allocations: 0 / 1.453 GB, free: 1.805 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006662/1.128, allocations: 147.8 kB / 1.453 GB, free: 1.66 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.889e-05/1.128, allocations: 37.23 kB / 1.453 GB, free: 1.621 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/1.128, allocations: 20 kB / 1.453 GB, free: 1.602 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/1.129, allocations: 1.606 MB / 1.455 GB, free: 15.86 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.129, allocations: 8.062 kB / 1.455 GB, free: 15.85 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001691/1.131, allocations: 1.204 MB / 1.456 GB, free: 14.59 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004274/1.131, allocations: 264.3 kB / 1.456 GB, free: 14.31 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/1.131, allocations: 16 kB / 1.456 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/1.132, allocations: 42.31 kB / 1.457 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/1.132, allocations: 43.83 kB / 1.457 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.132, allocations: 35.98 kB / 1.457 GB, free: 14.18 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007934/1.133, allocations: 0.6161 MB / 1.457 GB, free: 13.57 MB / 1.186 GB Notification: Performance of sort global known variables: time 9.1e-08/1.133, allocations: 0 / 1.457 GB, free: 13.57 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001359/1.135, allocations: 300 kB / 1.457 GB, free: 13.27 MB / 1.186 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 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004724/1.135, allocations: 208.6 kB / 1.458 GB, free: 13.07 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001721/1.137, allocations: 0.9799 MB / 1.459 GB, free: 12.05 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/1.137, allocations: 0 / 1.459 GB, free: 12.05 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007049/1.137, allocations: 438 kB / 1.459 GB, free: 11.61 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.14, allocations: 0.6515 MB / 1.46 GB, free: 10.98 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/1.144, allocations: 2.134 MB / 1.462 GB, free: 8.773 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008689/1.145, allocations: 1.17 MB / 1.463 GB, free: 7.57 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009099/1.146, allocations: 248.4 kB / 1.463 GB, free: 7.324 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/1.146, allocations: 71.44 kB / 1.463 GB, free: 7.254 MB / 1.186 GB Notification: Performance of SimCode: time 1.012e-06/1.146, allocations: 4 kB / 1.463 GB, free: 7.25 MB / 1.186 GB Notification: Performance of Templates: time 0.03902/1.185, allocations: 22.56 MB / 1.485 GB, free: 1.027 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches