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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001817/0.001817, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00147/0.00147, allocations: 190.8 kB / 16.25 MB, free: 6.641 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.495/1.495, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.054/3.054, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.88 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7963/0.7984, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.264/1.062, allocations: 187.9 MB / 1.2 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01384/1.076, allocations: 5.663 MB / 1.206 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/1.078, allocations: 39.75 kB / 1.206 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/1.079, allocations: 0.4975 MB / 1.206 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004134/1.084, allocations: 1.513 MB / 1.208 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/1.087, allocations: 1.099 MB / 1.209 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00389/1.091, allocations: 2.504 MB / 1.211 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001717/1.092, allocations: 0.9535 MB / 1.212 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002433/1.095, allocations: 1.043 MB / 1.213 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/1.097, allocations: 0.8714 MB / 1.214 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001763/1.097, allocations: 100 kB / 1.214 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/1.101, allocations: 1.594 MB / 1.216 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008462/1.102, allocations: 0.4909 MB / 1.216 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/1.103, allocations: 0.6183 MB / 1.217 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004081/1.107, allocations: 2.181 MB / 1.219 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.107, allocations: 0 / 1.219 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.094e-06/1.107, allocations: 0 / 1.219 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.977e-05/1.107, allocations: 4 kB / 1.219 GB, free: 2.977 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.002867/1.11, allocations: 1.48 MB / 1.22 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/1.11, allocations: 8.031 kB / 1.22 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002101/1.112, allocations: 338.2 kB / 1.221 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/1.114, allocations: 0.7648 MB / 1.222 GB, free: 304 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003799/1.114, allocations: 121.9 kB / 1.222 GB, free: 184 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/1.115, allocations: 88 kB / 1.222 GB, free: 96 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/1.117, allocations: 1.076 MB / 1.223 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/1.117, allocations: 3.938 kB / 1.223 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/1.117, allocations: 36 kB / 1.223 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.035e-05/1.117, allocations: 37.98 kB / 1.223 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/1.119, allocations: 0.8314 MB / 1.224 GB, free: 14.08 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.006532/1.125, allocations: 4.054 MB / 1.228 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/1.126, allocations: 359.4 kB / 1.228 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/1.126, allocations: 213.3 kB / 1.228 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002236/1.127, allocations: 105 kB / 1.228 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.411e-05/1.127, allocations: 38.56 kB / 1.228 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=36): time 4.408e-06/1.127, allocations: 0 / 1.228 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=38): time 0.003058/1.13, allocations: 1.331 MB / 1.23 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/1.13, allocations: 55.41 kB / 1.23 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/1.131, allocations: 0.9921 MB / 1.231 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.378e-05/1.132, allocations: 37.7 kB / 1.231 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000432/1.132, allocations: 0.4953 MB / 1.231 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/1.132, allocations: 138 kB / 1.231 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.132, allocations: 118.2 kB / 1.231 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.133, allocations: 326 kB / 1.232 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/1.133, allocations: 233.2 kB / 1.232 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/1.134, allocations: 405.2 kB / 1.232 GB, free: 4.734 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.002776/1.136, allocations: 1.199 MB / 1.233 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.136, allocations: 3.938 kB / 1.233 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001657/1.138, allocations: 0.7536 MB / 1.234 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.138, allocations: 9.406 kB / 1.234 GB, free: 2.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/1.138, allocations: 4 kB / 1.234 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/1.138, allocations: 8 kB / 1.234 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006471/1.139, allocations: 140.1 kB / 1.234 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.787e-05/1.139, allocations: 19.98 kB / 1.234 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.14, allocations: 87.78 kB / 1.234 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/1.14, allocations: 27.98 kB / 1.234 GB, free: 2.395 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 system: 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.0005849/1.141, allocations: 310.1 kB / 1.235 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/1.141, allocations: 102.7 kB / 1.235 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/1.141, allocations: 105 kB / 1.235 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.141, allocations: 4 kB / 1.235 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/1.141, allocations: 0 / 1.235 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008561/1.142, allocations: 0.6791 MB / 1.236 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/1.145, allocations: 1.583 MB / 1.237 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.145, allocations: 4 kB / 1.237 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/1.145, allocations: 88.34 kB / 1.237 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.357e-05/1.145, allocations: 7.938 kB / 1.237 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/1.146, allocations: 23.98 kB / 1.237 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.128e-06/1.146, allocations: 8 kB / 1.237 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.146, allocations: 4 kB / 1.237 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/1.147, allocations: 0.8327 MB / 1.238 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004547/1.147, allocations: 235.9 kB / 1.238 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/1.147, allocations: 15.98 kB / 1.238 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/1.148, allocations: 61.83 kB / 1.238 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/1.148, allocations: 35.84 kB / 1.238 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/1.148, allocations: 35.92 kB / 1.239 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001161/1.15, allocations: 0.6996 MB / 1.239 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.15, allocations: 0 / 1.239 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009135/1.15, allocations: 252 kB / 1.239 GB, free: 13.04 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.0005601/1.151, allocations: 202.5 kB / 1.24 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001151/1.152, allocations: 0.5228 MB / 1.24 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.922e-06/1.152, allocations: 7.938 kB / 1.24 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003037/1.153, allocations: 191.3 kB / 1.24 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002951/1.155, allocations: 0.6239 MB / 1.241 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/1.159, allocations: 2.178 MB / 1.243 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009428/1.16, allocations: 1.099 MB / 1.244 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001035/1.161, allocations: 240.2 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/1.161, allocations: 71.44 kB / 1.244 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of SimCode: time 7.52e-07/1.161, allocations: 0 / 1.244 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of Templates: time 0.5695/1.731, allocations: 19.61 MB / 1.264 GB, free: 231.6 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches