Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009951/0.0009952, allocations: 97.39 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 179.8 kB / 16.92 MB, free: 6.914 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.659/2.659, allocations: 437.8 MB / 0.7128 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003941, allocations: 12 kB / 0.8735 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7546/0.755, allocations: 153.8 MB / 1.024 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2114/0.9665, allocations: 185.8 MB / 1.205 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.9771, allocations: 5.708 MB / 1.211 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001872/0.979, allocations: 31.75 kB / 1.211 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.981, allocations: 0.4935 MB / 1.211 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00568/0.9867, allocations: 1.727 MB / 1.213 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/0.9902, allocations: 1.072 MB / 1.214 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005365/0.9956, allocations: 4.09 MB / 1.218 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.9976, allocations: 0.9318 MB / 1.219 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/1, allocations: 0.8633 MB / 1.22 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002983/1.003, allocations: 0.9578 MB / 1.221 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003986/1.003, allocations: 48 kB / 1.221 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004269/1.008, allocations: 1.621 MB / 1.222 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009707/1.009, allocations: 498.6 kB / 1.223 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001656/1.01, allocations: 0.6547 MB / 1.223 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003085/1.013, allocations: 1.734 MB / 1.225 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.013, allocations: 0 / 1.225 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.066e-06/1.013, allocations: 0 / 1.225 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.369e-05/1.014, allocations: 0 / 1.225 GB, free: 0.9805 MB / 0.9669 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.003386/1.017, allocations: 1.363 MB / 1.226 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.017, allocations: 11.98 kB / 1.226 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/1.019, allocations: 338.1 kB / 1.227 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/1.021, allocations: 0.8668 MB / 1.228 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/1.021, allocations: 74 kB / 1.228 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/1.022, allocations: 95.98 kB / 1.228 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/1.024, allocations: 1.1 MB / 1.229 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/1.024, allocations: 0 / 1.229 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/1.024, allocations: 44 kB / 1.229 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-05/1.024, allocations: 41.98 kB / 1.229 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/1.026, allocations: 0.9994 MB / 1.23 GB, free: 11.95 MB / 0.9825 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.007182/1.033, allocations: 4.262 MB / 1.234 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009514/1.034, allocations: 0.6035 MB / 1.235 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/1.035, allocations: 350.5 kB / 1.235 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002108/1.035, allocations: 105.5 kB / 1.235 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/1.035, allocations: 47 kB / 1.235 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=53): time 3.837e-06/1.035, allocations: 0 / 1.235 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=55): time 0.004726/1.04, allocations: 2.22 MB / 1.237 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/1.04, allocations: 59.91 kB / 1.237 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.041, allocations: 0.8959 MB / 1.238 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.439e-05/1.041, allocations: 37.7 kB / 1.238 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/1.042, allocations: 0.5108 MB / 1.239 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/1.042, allocations: 201.1 kB / 1.239 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.697e-05/1.042, allocations: 57.69 kB / 1.239 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.042, allocations: 334 kB / 1.239 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/1.043, allocations: 289.8 kB / 1.24 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/1.043, allocations: 437 kB / 1.24 GB, free: 1.027 MB / 0.9825 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.004045/1.048, allocations: 1.78 MB / 1.242 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/1.048, allocations: 0 / 1.242 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001764/1.049, allocations: 0.9338 MB / 1.243 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/1.049, allocations: 4 kB / 1.243 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.049, allocations: 7.938 kB / 1.243 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002502/1.05, allocations: 102.6 kB / 1.243 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007564/1.05, allocations: 179.7 kB / 1.243 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003574/1.054, allocations: 4.278 MB / 1.247 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/1.055, allocations: 76.05 kB / 1.247 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.639e-05/1.055, allocations: 24 kB / 1.247 GB, free: 9.16 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 (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.0007747/1.056, allocations: 349.5 kB / 1.248 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/1.056, allocations: 98.88 kB / 1.248 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/1.057, allocations: 113.2 kB / 1.248 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/1.057, allocations: 7.984 kB / 1.248 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.057, allocations: 7.938 kB / 1.248 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/1.058, allocations: 0.7692 MB / 1.248 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00368/1.062, allocations: 2.011 MB / 1.25 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.062, allocations: 4.031 kB / 1.25 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006939/1.062, allocations: 159.8 kB / 1.251 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/1.062, allocations: 40.84 kB / 1.251 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/1.062, allocations: 19.98 kB / 1.251 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/1.064, allocations: 1.48 MB / 1.252 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.064, allocations: 4 kB / 1.252 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/1.066, allocations: 1.222 MB / 1.253 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006016/1.066, allocations: 263.8 kB / 1.254 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/1.066, allocations: 12 kB / 1.254 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009391/1.067, allocations: 71.78 kB / 1.254 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/1.067, allocations: 43.89 kB / 1.254 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.221e-05/1.068, allocations: 35.98 kB / 1.254 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009007/1.068, allocations: 0.6122 MB / 1.254 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.068, allocations: 0 / 1.254 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001161/1.07, allocations: 304 kB / 1.255 GB, free: 1.184 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 (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.0005467/1.07, allocations: 215.4 kB / 1.255 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5651/1.635, allocations: 1.006 MB / 1.256 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/1.635, allocations: 2.5 kB / 1.256 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/1.636, allocations: 455.6 kB / 1.256 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/1.641, allocations: 0.6197 MB / 1.257 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/1.646, allocations: 2.683 MB / 1.259 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/1.647, allocations: 1.174 MB / 1.261 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/1.648, allocations: 85.27 kB / 1.261 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.513e-06/1.648, allocations: 0 / 1.261 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.05008/1.698, allocations: 26.8 MB / 1.287 GB, free: 218.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1]