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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00167/0.00167, allocations: 101.6 kB / 16.27 MB, free: 5.852 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.001868/0.001868, allocations: 188.7 kB / 17.19 MB, free: 5.5 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.337/1.337, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.2 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 66.08 kB / 0.8132 GB, free: 33.15 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2834, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7457/1.029, allocations: 190.5 MB / 1.136 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.009969/1.039, allocations: 5.706 MB / 1.142 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002053/1.041, allocations: 45.92 kB / 1.142 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001729/1.043, allocations: 0.5652 MB / 1.142 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005465/1.048, allocations: 1.827 MB / 1.144 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003233/1.052, allocations: 1.174 MB / 1.145 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004289/1.056, allocations: 2.955 MB / 1.148 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001601/1.058, allocations: 1.116 MB / 1.149 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002042/1.06, allocations: 1.058 MB / 1.15 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/1.062, allocations: 0.961 MB / 1.151 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/1.062, allocations: 123.3 kB / 1.151 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003365/1.065, allocations: 1.443 MB / 1.153 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000604/1.066, allocations: 0.5677 MB / 1.153 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008976/1.067, allocations: 0.7239 MB / 1.154 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003597/1.07, allocations: 2.32 MB / 1.156 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.07, allocations: 0 / 1.156 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/1.07, allocations: 0 / 1.156 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.25e-05/1.07, allocations: 1.031 kB / 1.156 GB, free: 1.48 MB / 0.8575 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.002822/1.073, allocations: 1.614 MB / 1.158 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.073, allocations: 13.88 kB / 1.158 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/1.075, allocations: 328.9 kB / 1.158 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/1.077, allocations: 0.8692 MB / 1.159 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.064e-05/1.077, allocations: 69.56 kB / 1.159 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/1.077, allocations: 99.48 kB / 1.159 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/1.079, allocations: 1.097 MB / 1.16 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/1.079, allocations: 4.938 kB / 1.16 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.079, allocations: 44.2 kB / 1.16 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.513e-05/1.079, allocations: 47.06 kB / 1.16 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/1.081, allocations: 0.9905 MB / 1.161 GB, free: 15.03 MB / 0.8731 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.006307/1.087, allocations: 4.265 MB / 1.166 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/1.088, allocations: 0.5981 MB / 1.166 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/1.089, allocations: 343.9 kB / 1.166 GB, free: 12 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/1.089, allocations: 106.4 kB / 1.167 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/1.089, allocations: 44.5 kB / 1.167 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 2.515e-06/1.089, allocations: 3.938 kB / 1.167 GB, free: 11.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55): time 0.003981/1.093, allocations: 2.197 MB / 1.169 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/1.093, allocations: 57.34 kB / 1.169 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/1.094, allocations: 0.888 MB / 1.17 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/1.094, allocations: 39.23 kB / 1.17 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/1.094, allocations: 0.5155 MB / 1.17 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/1.095, allocations: 197.8 kB / 1.17 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/1.095, allocations: 129.2 kB / 1.171 GB, free: 9.492 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.095, allocations: 332.3 kB / 1.171 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/1.095, allocations: 288.5 kB / 1.171 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/1.096, allocations: 435.7 kB / 1.172 GB, free: 8.82 MB / 0.8731 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.003703/1.1, allocations: 1.743 MB / 1.173 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.1, allocations: 2.531 kB / 1.173 GB, free: 8.066 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001435/1.101, allocations: 0.927 MB / 1.174 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.101, allocations: 4.844 kB / 1.174 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.101, allocations: 6.062 kB / 1.174 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002058/1.101, allocations: 103.4 kB / 1.174 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000679/1.102, allocations: 159.4 kB / 1.174 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003488/1.106, allocations: 4.639 MB / 1.179 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009896/1.107, allocations: 26.28 kB / 1.179 GB, free: 3.223 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/1.107, allocations: 31.38 kB / 1.179 GB, free: 3.215 MB / 0.8731 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.0006426/1.107, allocations: 346.7 kB / 1.179 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/1.108, allocations: 104.9 kB / 1.179 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/1.108, allocations: 110 kB / 1.18 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.108, allocations: 5.031 kB / 1.18 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/1.108, allocations: 0 / 1.18 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/1.109, allocations: 0.7646 MB / 1.18 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/1.112, allocations: 1.989 MB / 1.182 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/1.112, allocations: 0 / 1.182 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/1.113, allocations: 147.8 kB / 1.182 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.862e-05/1.113, allocations: 45.2 kB / 1.182 GB, free: 0.9805 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/1.113, allocations: 16.5 kB / 1.182 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/1.114, allocations: 1.607 MB / 1.184 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.114, allocations: 7.047 kB / 1.184 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/1.116, allocations: 1.213 MB / 1.185 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005184/1.117, allocations: 256.3 kB / 1.185 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/1.117, allocations: 17.53 kB / 1.185 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007939/1.118, allocations: 32.62 kB / 1.186 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/1.118, allocations: 55.19 kB / 1.186 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.149e-05/1.118, allocations: 35.92 kB / 1.186 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008123/1.119, allocations: 0.611 MB / 1.186 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.119, allocations: 0 / 1.186 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001137/1.12, allocations: 311.4 kB / 1.186 GB, free: 14 MB / 0.8887 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.0004833/1.12, allocations: 188.2 kB / 1.187 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001724/1.122, allocations: 1.108 MB / 1.188 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.122, allocations: 2.625 kB / 1.188 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000601/1.123, allocations: 447.5 kB / 1.188 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/1.126, allocations: 0.6534 MB / 1.189 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/1.129, allocations: 2.212 MB / 1.191 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008362/1.13, allocations: 1.173 MB / 1.192 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/1.13, allocations: 79.19 kB / 1.192 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of SimCode: time 2.004e-06/1.13, allocations: 0 / 1.192 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of Templates: time 0.03722/1.168, allocations: 26.91 MB / 1.218 GB, free: 8.406 MB / 0.9044 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]