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.00122/0.001225, allocations: 100.1 kB / 16.35 MB, free: 5.828 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.001217/0.001217, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.476/1.476, allocations: 222.9 MB / 241 MB, free: 4.176 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.752/2.752, allocations: 437.1 MB / 0.7112 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001185, allocations: 71.89 kB / 0.8707 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7331/0.7343, allocations: 151.6 MB / 1.019 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1974/0.9318, allocations: 190.3 MB / 1.205 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009091/0.9409, allocations: 5.695 MB / 1.21 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/0.9424, allocations: 43.75 kB / 1.21 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.944, allocations: 0.563 MB / 1.211 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.9481, allocations: 1.61 MB / 1.212 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.9513, allocations: 1.199 MB / 1.214 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003503/0.9548, allocations: 2.505 MB / 1.216 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.9561, allocations: 0.9926 MB / 1.217 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.9581, allocations: 1.023 MB / 1.218 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.9599, allocations: 0.8116 MB / 1.219 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.9601, allocations: 107.9 kB / 1.219 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.963, allocations: 1.532 MB / 1.22 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005334/0.9635, allocations: 498.7 kB / 1.221 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007654/0.9643, allocations: 0.6144 MB / 1.221 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.9675, allocations: 2.111 MB / 1.224 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.9675, allocations: 0 / 1.224 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9675, allocations: 0 / 1.224 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.9675, allocations: 0 / 1.224 GB, free: 15.94 MB / 0.9825 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.002749/0.9703, allocations: 1.472 MB / 1.225 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.9703, allocations: 12.03 kB / 1.225 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.9724, allocations: 330.3 kB / 1.225 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.9741, allocations: 0.8155 MB / 1.226 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/0.9742, allocations: 66 kB / 1.226 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.9744, allocations: 76 kB / 1.226 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/0.9763, allocations: 1.08 MB / 1.227 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.9763, allocations: 4 kB / 1.227 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.9764, allocations: 39.98 kB / 1.227 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/0.9765, allocations: 34 kB / 1.227 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.978, allocations: 0.8352 MB / 1.228 GB, free: 11.05 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.006148/0.9842, allocations: 4.25 MB / 1.232 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.9848, allocations: 366.6 kB / 1.233 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.9851, allocations: 214.2 kB / 1.233 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001938/0.9853, allocations: 105 kB / 1.233 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.9854, allocations: 38.56 kB / 1.233 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 2.394e-06/0.9854, allocations: 0 / 1.233 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.002738/0.9881, allocations: 1.335 MB / 1.234 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.9882, allocations: 63.34 kB / 1.234 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.9897, allocations: 0.9927 MB / 1.235 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.119e-05/0.9897, allocations: 33.7 kB / 1.235 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004515/0.9902, allocations: 0.4953 MB / 1.236 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.9903, allocations: 149.9 kB / 1.236 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002258/0.9906, allocations: 118.2 kB / 1.236 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.9908, allocations: 326 kB / 1.236 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.9913, allocations: 241.1 kB / 1.237 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.9919, allocations: 421.4 kB / 1.237 GB, free: 1.449 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.002507/0.9944, allocations: 1.221 MB / 1.238 GB, free: 136 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.9944, allocations: 0 / 1.238 GB, free: 136 kB / 0.9825 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001516/0.9959, allocations: 0.7657 MB / 1.239 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.996, allocations: 8 kB / 1.239 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.996, allocations: 8.062 kB / 1.239 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.765e-05/0.996, allocations: 11.94 kB / 1.239 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.9966, allocations: 147.7 kB / 1.239 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.9966, allocations: 12 kB / 1.239 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009555/0.9976, allocations: 59.84 kB / 1.239 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.9977, allocations: 24 kB / 1.239 GB, free: 15.09 MB / 0.9981 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0005799/0.9983, allocations: 313.5 kB / 1.24 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.9984, allocations: 94.88 kB / 1.24 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.9986, allocations: 109 kB / 1.24 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.9987, allocations: 4 kB / 1.24 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.9987, allocations: 8 kB / 1.24 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000755/0.9994, allocations: 0.6713 MB / 1.24 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/1.002, allocations: 1.587 MB / 1.242 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.002, allocations: 8.031 kB / 1.242 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/1.002, allocations: 87.89 kB / 1.242 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/1.002, allocations: 4 kB / 1.242 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/1.002, allocations: 12 kB / 1.242 GB, free: 12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.002, allocations: 11.88 kB / 1.242 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.002, allocations: 8 kB / 1.242 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.003, allocations: 0.8296 MB / 1.243 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/1.004, allocations: 239.8 kB / 1.243 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/1.004, allocations: 19.88 kB / 1.243 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/1.005, allocations: 37.8 kB / 1.243 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/1.005, allocations: 35.84 kB / 1.243 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-05/1.005, allocations: 27.98 kB / 1.243 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009601/1.006, allocations: 0.7077 MB / 1.244 GB, free: 10 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.006, allocations: 0 / 1.244 GB, free: 10 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008104/1.007, allocations: 256 kB / 1.244 GB, free: 9.75 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.0004653/1.007, allocations: 208.1 kB / 1.244 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008775/1.008, allocations: 0.5037 MB / 1.245 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.008, allocations: 4 kB / 1.245 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/1.008, allocations: 192.4 kB / 1.245 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/1.011, allocations: 0.6122 MB / 1.246 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/1.013, allocations: 1.849 MB / 1.247 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/1.014, allocations: 1.095 MB / 1.249 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008045/1.015, allocations: 248.3 kB / 1.249 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/1.015, allocations: 75.42 kB / 1.249 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.015, allocations: 0 / 1.249 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of Templates: time 0.5524/1.567, allocations: 19.74 MB / 1.268 GB, free: 229.5 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 -s cvode -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