Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.007144/0.007144, allocations: 100.5 kB / 15.87 MB, free: 5.867 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.001586/0.001587, allocations: 191.2 kB / 16.79 MB, free: 5.809 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.445/2.445, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 59.91 kB / 0.8125 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7437, allocations: 140.4 MB / 0.9496 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2148/0.9585, allocations: 188.2 MB / 1.133 GB, free: 5.25 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.009463/0.968, allocations: 5.769 MB / 1.139 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.9697, allocations: 35.75 kB / 1.139 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.9714, allocations: 0.4935 MB / 1.14 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.9761, allocations: 1.72 MB / 1.141 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.9791, allocations: 1.074 MB / 1.142 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004516/0.9836, allocations: 4.105 MB / 1.146 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.9849, allocations: 0.958 MB / 1.147 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.9867, allocations: 0.9024 MB / 1.148 GB, free: 6.148 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.9888, allocations: 1 MB / 1.149 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001662/0.989, allocations: 60 kB / 1.149 GB, free: 5.09 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003402/0.9924, allocations: 1.648 MB / 1.151 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005761/0.993, allocations: 0.5142 MB / 1.151 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000844/0.9939, allocations: 0.657 MB / 1.152 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.996, allocations: 1.758 MB / 1.154 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.996, allocations: 0 / 1.154 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.072e-06/0.996, allocations: 0 / 1.154 GB, free: 0.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.374e-05/0.9961, allocations: 0 / 1.154 GB, free: 0.5 MB / 0.9044 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.002717/0.9988, allocations: 1.616 MB / 1.155 GB, free: 14.83 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.9988, allocations: 12.03 kB / 1.155 GB, free: 14.82 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002037/1.001, allocations: 330.2 kB / 1.156 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/1.002, allocations: 0.8707 MB / 1.156 GB, free: 13.58 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.606e-05/1.002, allocations: 70 kB / 1.156 GB, free: 13.51 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/1.002, allocations: 100 kB / 1.157 GB, free: 13.41 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/1.004, allocations: 1.093 MB / 1.158 GB, free: 12.31 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/1.004, allocations: 4 kB / 1.158 GB, free: 12.31 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/1.004, allocations: 40 kB / 1.158 GB, free: 12.27 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.115e-05/1.004, allocations: 38 kB / 1.158 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/1.006, allocations: 1.003 MB / 1.159 GB, free: 11.23 MB / 0.92 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.005836/1.012, allocations: 4.239 MB / 1.163 GB, free: 6.695 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/1.013, allocations: 0.5979 MB / 1.163 GB, free: 6.086 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/1.013, allocations: 342.5 kB / 1.164 GB, free: 5.75 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/1.014, allocations: 105.5 kB / 1.164 GB, free: 5.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/1.014, allocations: 43 kB / 1.164 GB, free: 5.578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.474e-06/1.014, allocations: 4 kB / 1.164 GB, free: 5.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=55): time 0.004131/1.018, allocations: 2.193 MB / 1.166 GB, free: 3.262 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/1.018, allocations: 63.91 kB / 1.166 GB, free: 3.188 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/1.019, allocations: 0.8843 MB / 1.167 GB, free: 2.293 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/1.019, allocations: 37.7 kB / 1.167 GB, free: 2.25 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/1.019, allocations: 0.5145 MB / 1.167 GB, free: 1.727 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/1.02, allocations: 197.2 kB / 1.168 GB, free: 1.531 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/1.02, allocations: 126.6 kB / 1.168 GB, free: 1.402 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.02, allocations: 333.9 kB / 1.168 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/1.02, allocations: 289.8 kB / 1.168 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/1.021, allocations: 440.9 kB / 1.169 GB, free: 312 kB / 0.92 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.003808/1.025, allocations: 1.739 MB / 1.17 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.025, allocations: 3.938 kB / 1.17 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001492/1.026, allocations: 0.9258 MB / 1.171 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/1.026, allocations: 13.81 kB / 1.171 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/1.026, allocations: 4 kB / 1.171 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/1.027, allocations: 106.8 kB / 1.171 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/1.027, allocations: 159.8 kB / 1.172 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/1.031, allocations: 4.285 MB / 1.176 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009975/1.032, allocations: 67.95 kB / 1.176 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/1.032, allocations: 35.98 kB / 1.176 GB, free: 8.48 MB / 0.9356 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.0005638/1.032, allocations: 345.5 kB / 1.176 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/1.032, allocations: 102.8 kB / 1.176 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/1.033, allocations: 109.2 kB / 1.176 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.033, allocations: 4 kB / 1.176 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/1.033, allocations: 3.938 kB / 1.176 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/1.034, allocations: 0.7652 MB / 1.177 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/1.037, allocations: 1.984 MB / 1.179 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.037, allocations: 4 kB / 1.179 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/1.037, allocations: 152.2 kB / 1.179 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-05/1.037, allocations: 32.84 kB / 1.179 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/1.038, allocations: 19.98 kB / 1.179 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/1.039, allocations: 1.491 MB / 1.181 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.039, allocations: 7.938 kB / 1.181 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/1.04, allocations: 1.199 MB / 1.182 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/1.041, allocations: 259.9 kB / 1.182 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/1.041, allocations: 12 kB / 1.182 GB, free: 1.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/1.042, allocations: 71.78 kB / 1.182 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.042, allocations: 55.61 kB / 1.182 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.921e-05/1.042, allocations: 27.98 kB / 1.182 GB, free: 1.469 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008165/1.043, allocations: 0.6161 MB / 1.183 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/1.043, allocations: 0 / 1.183 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009972/1.044, allocations: 304 kB / 1.183 GB, free: 0.5625 MB / 0.9356 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.0005477/1.044, allocations: 194 kB / 1.183 GB, free: 376 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001591/1.046, allocations: 1.003 MB / 1.184 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/1.046, allocations: 4 kB / 1.184 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006386/1.047, allocations: 444.1 kB / 1.185 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/1.049, allocations: 0.6175 MB / 1.185 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/1.053, allocations: 2.609 MB / 1.188 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009718/1.054, allocations: 1.163 MB / 1.189 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/1.055, allocations: 83.42 kB / 1.189 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of SimCode: time 8.22e-07/1.055, allocations: 0 / 1.189 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.03856/1.093, allocations: 26.97 MB / 1.216 GB, free: 15.49 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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]