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.001559/0.001559, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.00152/0.00152, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.25/2.25, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.7 kB / 0.8127 GB, free: 33.27 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2884, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7704/1.059, allocations: 188 MB / 1.133 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0102/1.069, allocations: 5.658 MB / 1.139 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/1.072, allocations: 37.69 kB / 1.139 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001844/1.074, allocations: 0.5049 MB / 1.139 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005728/1.079, allocations: 1.726 MB / 1.141 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003291/1.083, allocations: 1.081 MB / 1.142 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004621/1.087, allocations: 2.963 MB / 1.145 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/1.089, allocations: 1.083 MB / 1.146 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/1.092, allocations: 1.063 MB / 1.147 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002709/1.094, allocations: 1.038 MB / 1.148 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003029/1.095, allocations: 123.8 kB / 1.148 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004045/1.099, allocations: 1.518 MB / 1.15 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007122/1.099, allocations: 0.5758 MB / 1.15 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001082/1.1, allocations: 0.7264 MB / 1.151 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002812/1.103, allocations: 1.774 MB / 1.153 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/1.103, allocations: 0 / 1.153 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.345e-06/1.103, allocations: 1.062 kB / 1.153 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.339e-05/1.103, allocations: 2.859 kB / 1.153 GB, free: 2.629 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.002944/1.106, allocations: 1.626 MB / 1.154 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.106, allocations: 9.938 kB / 1.154 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/1.108, allocations: 327.8 kB / 1.155 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/1.11, allocations: 0.8612 MB / 1.156 GB, free: 17 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/1.11, allocations: 74.44 kB / 1.156 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/1.11, allocations: 97.31 kB / 1.156 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/1.112, allocations: 1.098 MB / 1.157 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/1.112, allocations: 4.328 kB / 1.157 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-05/1.112, allocations: 45.62 kB / 1.157 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.408e-05/1.112, allocations: 40.88 kB / 1.157 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/1.114, allocations: 0.9882 MB / 1.158 GB, free: 16.18 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.006224/1.12, allocations: 4.247 MB / 1.162 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/1.121, allocations: 0.5956 MB / 1.163 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/1.122, allocations: 343.9 kB / 1.163 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/1.122, allocations: 105.6 kB / 1.163 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/1.122, allocations: 43.94 kB / 1.163 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 2.996e-06/1.122, allocations: 4 kB / 1.163 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55): time 0.004435/1.126, allocations: 2.197 MB / 1.165 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.126, allocations: 57.03 kB / 1.165 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/1.127, allocations: 0.8831 MB / 1.166 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.778e-05/1.128, allocations: 38.89 kB / 1.166 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/1.128, allocations: 0.5187 MB / 1.167 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/1.128, allocations: 193.5 kB / 1.167 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/1.128, allocations: 131.2 kB / 1.167 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.128, allocations: 332.5 kB / 1.167 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/1.129, allocations: 284.9 kB / 1.168 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005699/1.129, allocations: 439.3 kB / 1.168 GB, free: 9.984 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.00377/1.133, allocations: 1.751 MB / 1.17 GB, free: 9.223 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.133, allocations: 7.781 kB / 1.17 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00156/1.135, allocations: 0.9202 MB / 1.171 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.135, allocations: 7.375 kB / 1.171 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/1.135, allocations: 3.406 kB / 1.171 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/1.135, allocations: 107.3 kB / 1.171 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006977/1.136, allocations: 159.7 kB / 1.171 GB, free: 8.773 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/1.139, allocations: 4.632 MB / 1.175 GB, free: 4.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/1.14, allocations: 73.19 kB / 1.175 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/1.14, allocations: 27.56 kB / 1.175 GB, free: 4.359 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.0006251/1.141, allocations: 357.3 kB / 1.176 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000172/1.141, allocations: 98.47 kB / 1.176 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001875/1.141, allocations: 109.5 kB / 1.176 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.141, allocations: 5.344 kB / 1.176 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.141, allocations: 2.578 kB / 1.176 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00103/1.143, allocations: 0.7622 MB / 1.177 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/1.146, allocations: 1.993 MB / 1.179 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/1.146, allocations: 2.656 kB / 1.179 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/1.146, allocations: 152.1 kB / 1.179 GB, free: 2.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/1.147, allocations: 39.25 kB / 1.179 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/1.147, allocations: 18.02 kB / 1.179 GB, free: 2.547 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/1.148, allocations: 1.602 MB / 1.18 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.148, allocations: 6.109 kB / 1.18 GB, free: 1.066 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/1.15, allocations: 1.206 MB / 1.182 GB, free: 448 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/1.15, allocations: 251.8 kB / 1.182 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/1.151, allocations: 21.88 kB / 1.182 GB, free: 252 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.152, allocations: 78.91 kB / 1.182 GB, free: 224 kB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.152, allocations: 41.72 kB / 1.182 GB, free: 216 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.537e-05/1.152, allocations: 35.97 kB / 1.182 GB, free: 204 kB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009701/1.153, allocations: 0.6126 MB / 1.183 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.11e-07/1.153, allocations: 0 / 1.183 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001319/1.154, allocations: 310.3 kB / 1.183 GB, free: 15.93 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.0005253/1.155, allocations: 193.8 kB / 1.183 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001865/1.156, allocations: 1.109 MB / 1.184 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.157, allocations: 4.219 kB / 1.184 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006338/1.157, allocations: 449.6 kB / 1.185 GB, free: 14.97 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/1.16, allocations: 0.6579 MB / 1.185 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/1.165, allocations: 2.597 MB / 1.188 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009119/1.165, allocations: 1.177 MB / 1.189 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/1.166, allocations: 75.25 kB / 1.189 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of SimCode: time 7.11e-07/1.166, allocations: 4 kB / 1.189 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of Templates: time 0.03688/1.203, allocations: 26.91 MB / 1.215 GB, free: 10.62 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]