Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 92.39 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 183.1 kB / 16.92 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437.8 MB / 0.7128 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003873, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7314, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1957/0.9271, allocations: 185.6 MB / 1.205 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009674/0.9368, allocations: 5.705 MB / 1.211 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.9384, allocations: 31.81 kB / 1.211 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.9401, allocations: 0.4897 MB / 1.211 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004418/0.9445, allocations: 1.513 MB / 1.213 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.9479, allocations: 1.087 MB / 1.214 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004354/0.9522, allocations: 3.479 MB / 1.217 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001468/0.9537, allocations: 0.8275 MB / 1.218 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002244/0.956, allocations: 0.8595 MB / 1.219 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.9584, allocations: 0.808 MB / 1.219 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.9586, allocations: 40 kB / 1.219 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003571/0.9622, allocations: 1.695 MB / 1.221 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007233/0.963, allocations: 430.7 kB / 1.222 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.9641, allocations: 0.577 MB / 1.222 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002346/0.9664, allocations: 1.551 MB / 1.224 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.9664, allocations: 4 kB / 1.224 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9665, allocations: 0 / 1.224 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.812e-05/0.9665, allocations: 0 / 1.224 GB, free: 2.406 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002512/0.969, allocations: 1.246 MB / 1.225 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.9691, allocations: 11.97 kB / 1.225 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.9712, allocations: 346.3 kB / 1.225 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.9727, allocations: 0.7765 MB / 1.226 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.9731, allocations: 125.9 kB / 1.226 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.9732, allocations: 91.75 kB / 1.226 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.9753, allocations: 1.072 MB / 1.227 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.9753, allocations: 3.938 kB / 1.227 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.857e-05/0.9754, allocations: 36 kB / 1.227 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/0.9755, allocations: 37.98 kB / 1.227 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.9772, allocations: 0.847 MB / 1.228 GB, free: 13.7 MB / 0.9825 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.005919/0.9831, allocations: 4.066 MB / 1.232 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006063/0.9837, allocations: 362.7 kB / 1.232 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.9841, allocations: 221.3 kB / 1.233 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.9843, allocations: 101 kB / 1.233 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.9843, allocations: 42.5 kB / 1.233 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 3.737e-06/0.9843, allocations: 4 kB / 1.233 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.00272/0.987, allocations: 1.331 MB / 1.234 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.9871, allocations: 55.41 kB / 1.234 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.9886, allocations: 0.9921 MB / 1.235 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.9887, allocations: 37.7 kB / 1.235 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.9891, allocations: 495.3 kB / 1.236 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.9893, allocations: 138 kB / 1.236 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.9894, allocations: 53.7 kB / 1.236 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.9895, allocations: 326 kB / 1.236 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/0.99, allocations: 245.2 kB / 1.236 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006097/0.9907, allocations: 410.2 kB / 1.237 GB, free: 4.383 MB / 0.9825 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.002533/0.9932, allocations: 1.199 MB / 1.238 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.9932, allocations: 3.938 kB / 1.238 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001533/0.9948, allocations: 0.7693 MB / 1.239 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.9948, allocations: 8 kB / 1.239 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.9948, allocations: 4 kB / 1.239 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.9948, allocations: 8 kB / 1.239 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006014/0.9955, allocations: 143.8 kB / 1.239 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-05/0.9955, allocations: 12.06 kB / 1.239 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.9967, allocations: 99.77 kB / 1.239 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.9968, allocations: 28 kB / 1.239 GB, free: 2.02 MB / 0.9825 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: 22 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006193/0.9974, allocations: 310.7 kB / 1.239 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.9977, allocations: 98.81 kB / 1.239 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.998, allocations: 105 kB / 1.239 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.998, allocations: 11.92 kB / 1.239 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.998, allocations: 0 / 1.239 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007915/0.9988, allocations: 0.6752 MB / 1.24 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/1.002, allocations: 1.581 MB / 1.242 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.002, allocations: 4 kB / 1.242 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/1.002, allocations: 87.83 kB / 1.242 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/1.002, allocations: 8.438 kB / 1.242 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/1.002, allocations: 16 kB / 1.242 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/1.002, allocations: 19.92 kB / 1.242 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.002, allocations: 4 kB / 1.242 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/1.003, allocations: 0.8288 MB / 1.243 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004486/1.004, allocations: 239.8 kB / 1.243 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/1.004, allocations: 12 kB / 1.243 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008105/1.005, allocations: 55.89 kB / 1.243 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/1.005, allocations: 39.84 kB / 1.243 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.516e-05/1.005, allocations: 31.98 kB / 1.243 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001094/1.006, allocations: 0.7074 MB / 1.244 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.1e-07/1.006, allocations: 4 kB / 1.244 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00109/1.007, allocations: 252 kB / 1.244 GB, free: 12.65 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005904/1.008, allocations: 205.5 kB / 1.244 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001045/1.009, allocations: 0.4988 MB / 1.245 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/1.009, allocations: 0 / 1.245 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/1.009, allocations: 189.3 kB / 1.245 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003552/1.012, allocations: 0.6079 MB / 1.245 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/1.016, allocations: 2.339 MB / 1.248 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/1.017, allocations: 1.095 MB / 1.249 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/1.017, allocations: 83.42 kB / 1.249 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of SimCode: time 9.22e-07/1.017, allocations: 3.938 kB / 1.249 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of Templates: time 0.6021/1.619, allocations: 16.17 MB / 1.265 GB, free: 226.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches