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.00154/0.00154, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00172/0.00172, allocations: 194.3 kB / 17.3 MB, free: 5.516 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 / 241 MB, free: 14.98 MB / 206.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.364/2.364, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 70.27 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3108, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.7634/1.074, allocations: 190.5 MB / 1.137 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01148/1.086, allocations: 5.705 MB / 1.143 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001913/1.088, allocations: 37.53 kB / 1.143 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/1.089, allocations: 0.5723 MB / 1.143 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004509/1.094, allocations: 1.825 MB / 1.145 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002869/1.097, allocations: 1.18 MB / 1.146 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003625/1.1, allocations: 2.954 MB / 1.149 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/1.102, allocations: 1.122 MB / 1.15 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/1.104, allocations: 1.059 MB / 1.151 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/1.106, allocations: 0.9696 MB / 1.152 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002338/1.106, allocations: 121.8 kB / 1.152 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003082/1.109, allocations: 1.443 MB / 1.154 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0006565/1.11, allocations: 0.5688 MB / 1.154 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009473/1.11, allocations: 0.7188 MB / 1.155 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003827/1.114, allocations: 2.335 MB / 1.157 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/1.114, allocations: 1.344 kB / 1.157 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/1.114, allocations: 0 / 1.157 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.41e-05/1.114, allocations: 0 / 1.157 GB, free: 1.16 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.002751/1.117, allocations: 1.618 MB / 1.159 GB, free: 16.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.117, allocations: 13.03 kB / 1.159 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/1.119, allocations: 327.6 kB / 1.159 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/1.121, allocations: 0.9191 MB / 1.16 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.81e-05/1.121, allocations: 70.56 kB / 1.16 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/1.121, allocations: 96.41 kB / 1.16 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/1.123, allocations: 1.087 MB / 1.161 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/1.123, allocations: 0 / 1.161 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/1.123, allocations: 42.38 kB / 1.161 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.293e-05/1.123, allocations: 38.83 kB / 1.161 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/1.125, allocations: 0.9997 MB / 1.162 GB, free: 14.7 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.006666/1.132, allocations: 4.229 MB / 1.166 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009429/1.133, allocations: 0.591 MB / 1.167 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005009/1.133, allocations: 344 kB / 1.167 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/1.134, allocations: 104.8 kB / 1.167 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/1.134, allocations: 44.5 kB / 1.167 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 2.234e-06/1.134, allocations: 0 / 1.167 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=55): time 0.004141/1.138, allocations: 2.2 MB / 1.17 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/1.138, allocations: 57.31 kB / 1.17 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/1.139, allocations: 0.8884 MB / 1.171 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/1.139, allocations: 38.39 kB / 1.171 GB, free: 9.816 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/1.139, allocations: 0.5116 MB / 1.171 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/1.14, allocations: 196.8 kB / 1.171 GB, free: 9.262 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/1.14, allocations: 134.5 kB / 1.171 GB, free: 9.191 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.14, allocations: 337.8 kB / 1.172 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/1.14, allocations: 283.5 kB / 1.172 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005758/1.141, allocations: 437.6 kB / 1.172 GB, free: 8.52 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.003642/1.145, allocations: 1.736 MB / 1.174 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/1.145, allocations: 3.062 kB / 1.174 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001534/1.146, allocations: 0.927 MB / 1.175 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.146, allocations: 6.625 kB / 1.175 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.146, allocations: 8.219 kB / 1.175 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/1.146, allocations: 103.6 kB / 1.175 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/1.147, allocations: 162.2 kB / 1.175 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/1.151, allocations: 4.628 MB / 1.18 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/1.152, allocations: 33.92 kB / 1.18 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/1.152, allocations: 25.03 kB / 1.18 GB, free: 2.836 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.0007273/1.153, allocations: 352.9 kB / 1.18 GB, free: 2.578 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/1.153, allocations: 100.2 kB / 1.18 GB, free: 2.531 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/1.153, allocations: 105.5 kB / 1.18 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/1.153, allocations: 9.469 kB / 1.18 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/1.153, allocations: 2.625 kB / 1.18 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/1.154, allocations: 0.7678 MB / 1.181 GB, free: 1.918 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003287/1.158, allocations: 1.992 MB / 1.183 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.158, allocations: 3.406 kB / 1.183 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/1.158, allocations: 148.8 kB / 1.183 GB, free: 0.5117 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.722e-05/1.158, allocations: 37.84 kB / 1.183 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-05/1.158, allocations: 20.48 kB / 1.183 GB, free: 492 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/1.16, allocations: 1.608 MB / 1.185 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.16, allocations: 2.812 kB / 1.185 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/1.161, allocations: 1.206 MB / 1.186 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/1.162, allocations: 249.1 kB / 1.186 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.162, allocations: 24.05 kB / 1.186 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007097/1.163, allocations: 39.84 kB / 1.186 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.163, allocations: 51.06 kB / 1.186 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/1.163, allocations: 32.02 kB / 1.186 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007453/1.164, allocations: 0.6125 MB / 1.187 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.2e-07/1.164, allocations: 0 / 1.187 GB, free: 13.54 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009509/1.165, allocations: 304.7 kB / 1.187 GB, free: 13.52 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.0004316/1.165, allocations: 199.4 kB / 1.188 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001537/1.167, allocations: 1.009 MB / 1.189 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.167, allocations: 1.812 kB / 1.189 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005985/1.167, allocations: 450.6 kB / 1.189 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.17, allocations: 0.6429 MB / 1.19 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/1.173, allocations: 2.102 MB / 1.192 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007015/1.174, allocations: 1.171 MB / 1.193 GB, free: 9.852 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008049/1.175, allocations: 260.3 kB / 1.193 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/1.175, allocations: 80.3 kB / 1.193 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of SimCode: time 5.71e-07/1.175, allocations: 0 / 1.193 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of Templates: time 0.03422/1.209, allocations: 22.25 MB / 1.215 GB, free: 12.91 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 -s cvode -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) Reference file matches