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.0009319/0.0009319, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005912/0.005912, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.377/1.377, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.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.47/2.47, allocations: 390.9 MB / 0.6663 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003211, allocations: 11.98 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7045/0.7048, allocations: 142.4 MB / 0.955 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2242/0.9291, allocations: 185.8 MB / 1.136 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01169/0.9408, allocations: 5.719 MB / 1.142 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.9427, allocations: 31.75 kB / 1.142 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.9446, allocations: 0.4974 MB / 1.143 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.9496, allocations: 1.72 MB / 1.144 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.9529, allocations: 1.072 MB / 1.145 GB, free: 12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005223/0.9581, allocations: 4.094 MB / 1.149 GB, free: 7.895 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/0.9599, allocations: 0.9278 MB / 1.15 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.962, allocations: 0.8555 MB / 1.151 GB, free: 6.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.9643, allocations: 0.9612 MB / 1.152 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.9645, allocations: 48 kB / 1.152 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.9677, allocations: 1.629 MB / 1.154 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.9683, allocations: 0.4947 MB / 1.154 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0008781/0.9692, allocations: 0.6548 MB / 1.155 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.9727, allocations: 2.313 MB / 1.157 GB, free: 15.97 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.9728, allocations: 0 / 1.157 GB, free: 15.97 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.765e-06/0.9728, allocations: 0 / 1.157 GB, free: 15.97 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.788e-05/0.9728, allocations: 0 / 1.157 GB, free: 15.97 MB / 0.92 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.002467/0.9753, allocations: 1.363 MB / 1.158 GB, free: 14.55 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.9753, allocations: 12.03 kB / 1.158 GB, free: 14.54 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.9775, allocations: 334.2 kB / 1.159 GB, free: 14.21 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.9789, allocations: 0.8629 MB / 1.159 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.979, allocations: 74 kB / 1.16 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.9792, allocations: 100 kB / 1.16 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.9812, allocations: 1.1 MB / 1.161 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.9812, allocations: 0 / 1.161 GB, free: 12.03 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.9813, allocations: 40 kB / 1.161 GB, free: 11.99 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.312e-05/0.9814, allocations: 45.98 kB / 1.161 GB, free: 11.94 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.9831, allocations: 1.003 MB / 1.162 GB, free: 10.94 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.006335/0.9895, allocations: 4.258 MB / 1.166 GB, free: 6.387 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.9905, allocations: 0.6057 MB / 1.167 GB, free: 5.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.991, allocations: 352.1 kB / 1.167 GB, free: 5.426 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.9912, allocations: 105.5 kB / 1.167 GB, free: 5.305 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.9913, allocations: 39 kB / 1.167 GB, free: 5.258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.9913, allocations: 0 / 1.167 GB, free: 5.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=55): time 0.004252/0.9955, allocations: 2.236 MB / 1.169 GB, free: 2.906 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.9956, allocations: 59.91 kB / 1.169 GB, free: 2.832 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.9967, allocations: 0.8765 MB / 1.17 GB, free: 1.945 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.9968, allocations: 49.69 kB / 1.17 GB, free: 1.891 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.9971, allocations: 0.5068 MB / 1.171 GB, free: 1.375 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.9973, allocations: 193.1 kB / 1.171 GB, free: 1.184 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.9974, allocations: 61.69 kB / 1.171 GB, free: 1.117 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.9976, allocations: 338 kB / 1.171 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.9981, allocations: 289.8 kB / 1.171 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.9987, allocations: 441 kB / 1.172 GB, free: 16 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.004163/1.003, allocations: 1.778 MB / 1.174 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.003, allocations: 0 / 1.174 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001634/1.005, allocations: 0.9379 MB / 1.175 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/1.005, allocations: 15.88 kB / 1.175 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.005, allocations: 4 kB / 1.175 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/1.005, allocations: 98.39 kB / 1.175 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007668/1.006, allocations: 175.8 kB / 1.175 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003311/1.009, allocations: 4.286 MB / 1.179 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/1.01, allocations: 67.86 kB / 1.179 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/1.01, allocations: 32 kB / 1.179 GB, free: 8.137 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 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.0005714/1.011, allocations: 345.5 kB / 1.179 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/1.011, allocations: 98.88 kB / 1.18 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/1.011, allocations: 109.2 kB / 1.18 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/1.011, allocations: 11.98 kB / 1.18 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.011, allocations: 3.938 kB / 1.18 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/1.012, allocations: 0.777 MB / 1.18 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/1.015, allocations: 1.999 MB / 1.182 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.015, allocations: 4 kB / 1.182 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007292/1.016, allocations: 168.2 kB / 1.183 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.546e-05/1.016, allocations: 32.84 kB / 1.183 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/1.016, allocations: 19.98 kB / 1.183 GB, free: 4.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/1.017, allocations: 1.487 MB / 1.184 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.017, allocations: 7.938 kB / 1.184 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/1.019, allocations: 1.211 MB / 1.185 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/1.02, allocations: 263.8 kB / 1.185 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.02, allocations: 16 kB / 1.185 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008663/1.021, allocations: 77.45 kB / 1.186 GB, free: 1.141 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/1.021, allocations: 51.61 kB / 1.186 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/1.021, allocations: 27.98 kB / 1.186 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007777/1.022, allocations: 0.6161 MB / 1.186 GB, free: 464 kB / 0.9356 GB Notification: Performance of sort global known variables: time 3.01e-07/1.022, allocations: 0 / 1.186 GB, free: 464 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009695/1.023, allocations: 308 kB / 1.187 GB, free: 156 kB / 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.0004442/1.023, allocations: 195.4 kB / 1.187 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001514/1.025, allocations: 1.006 MB / 1.188 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.025, allocations: 0 / 1.188 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0006274/1.025, allocations: 456.4 kB / 1.188 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/1.029, allocations: 0.6327 MB / 1.189 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/1.032, allocations: 2.612 MB / 1.191 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008296/1.033, allocations: 1.166 MB / 1.192 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001054/1.034, allocations: 252.4 kB / 1.193 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/1.034, allocations: 75.42 kB / 1.193 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of SimCode: time 6.51e-07/1.034, allocations: 0 / 1.193 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of Templates: time 0.03785/1.072, allocations: 21.2 MB / 1.213 GB, free: 4.738 MB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches