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.001021/0.001021, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001296/0.001296, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.3 MB / 240 MB, free: 5.418 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.57/2.57, allocations: 437.7 MB / 0.7117 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 11.94 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6186/0.619, allocations: 153.8 MB / 1.022 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1784/0.7975, allocations: 173.2 MB / 1.191 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008356/0.8059, allocations: 5.372 MB / 1.197 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/0.8068, allocations: 31.75 kB / 1.197 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.8078, allocations: 393.5 kB / 1.197 GB, free: 12.72 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002855/0.8107, allocations: 1.201 MB / 1.198 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.8132, allocations: 0.8866 MB / 1.199 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00324/0.8165, allocations: 2.938 MB / 1.202 GB, free: 7.691 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009401/0.8174, allocations: 0.696 MB / 1.203 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001426/0.8189, allocations: 0.8479 MB / 1.204 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.8199, allocations: 0.7666 MB / 1.204 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.82, allocations: 40 kB / 1.204 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.8219, allocations: 0.912 MB / 1.205 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004181/0.8224, allocations: 422.8 kB / 1.206 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002644/0.8226, allocations: 249.1 kB / 1.206 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.8242, allocations: 1.481 MB / 1.207 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8242, allocations: 0 / 1.207 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8242, allocations: 0 / 1.207 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.8242, allocations: 0 / 1.207 GB, free: 2.258 MB / 0.9512 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.00189/0.8261, allocations: 1.258 MB / 1.209 GB, free: 0.9453 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.8262, allocations: 12.03 kB / 1.209 GB, free: 0.9336 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.828, allocations: 338.3 kB / 1.209 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.8292, allocations: 0.7576 MB / 1.21 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.8295, allocations: 137.8 kB / 1.21 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.8297, allocations: 84 kB / 1.21 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.8314, allocations: 1.068 MB / 1.211 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.8315, allocations: 0 / 1.211 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.93e-05/0.8316, allocations: 35.98 kB / 1.211 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.8316, allocations: 38 kB / 1.211 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.8331, allocations: 0.8431 MB / 1.212 GB, free: 13.57 MB / 0.9669 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.005049/0.8382, allocations: 4.054 MB / 1.216 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.8388, allocations: 366.7 kB / 1.216 GB, free: 8.883 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.8391, allocations: 213.3 kB / 1.216 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.8393, allocations: 105 kB / 1.216 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.8393, allocations: 50.45 kB / 1.216 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.8394, allocations: 0 / 1.216 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of matching and sorting (n=38): time 0.002386/0.8417, allocations: 1.322 MB / 1.218 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.8418, allocations: 55.41 kB / 1.218 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.8432, allocations: 0.9921 MB / 1.219 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.8433, allocations: 33.7 kB / 1.219 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.8436, allocations: 495.3 kB / 1.219 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.8438, allocations: 142 kB / 1.219 GB, free: 5.363 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.8438, allocations: 16 kB / 1.219 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.8439, allocations: 326 kB / 1.22 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.8444, allocations: 241.2 kB / 1.22 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/0.845, allocations: 405.8 kB / 1.22 GB, free: 4.324 MB / 0.9669 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.001832/0.8469, allocations: 0.731 MB / 1.221 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.8469, allocations: 0 / 1.221 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001386/0.8483, allocations: 0.7692 MB / 1.222 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.8483, allocations: 8 kB / 1.222 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.8483, allocations: 4 kB / 1.222 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.8483, allocations: 8 kB / 1.222 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.8489, allocations: 147.7 kB / 1.222 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.8489, allocations: 8 kB / 1.222 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/0.8498, allocations: 91.78 kB / 1.222 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/0.8499, allocations: 27.98 kB / 1.222 GB, free: 2.508 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004225/0.8503, allocations: 317.5 kB / 1.222 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.8505, allocations: 102.8 kB / 1.222 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.8507, allocations: 101 kB / 1.223 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.8507, allocations: 4 kB / 1.223 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.8507, allocations: 3.938 kB / 1.223 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006811/0.8514, allocations: 0.6797 MB / 1.223 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.8537, allocations: 1.589 MB / 1.225 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.8537, allocations: 4 kB / 1.225 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.8541, allocations: 83.89 kB / 1.225 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.8541, allocations: 4 kB / 1.225 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.8542, allocations: 16.5 kB / 1.225 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.8542, allocations: 15.95 kB / 1.225 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.8542, allocations: 7.938 kB / 1.225 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.8552, allocations: 0.8315 MB / 1.226 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/0.8556, allocations: 235.9 kB / 1.226 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.8557, allocations: 12 kB / 1.226 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/0.8564, allocations: 61.03 kB / 1.226 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.8565, allocations: 35.86 kB / 1.226 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.8565, allocations: 31.98 kB / 1.226 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001033/0.8576, allocations: 0.6995 MB / 1.227 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8576, allocations: 0 / 1.227 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000889/0.8585, allocations: 256 kB / 1.227 GB, free: 13.14 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004811/0.859, allocations: 211.2 kB / 1.227 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009159/0.8599, allocations: 495.6 kB / 1.228 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.8599, allocations: 0 / 1.228 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/0.8602, allocations: 193.3 kB / 1.228 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002513/0.8627, allocations: 0.5971 MB / 1.228 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.8657, allocations: 2.183 MB / 1.231 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.8664, allocations: 1.095 MB / 1.232 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009042/0.8673, allocations: 236.5 kB / 1.232 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.8675, allocations: 79.42 kB / 1.232 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of SimCode: time 4.7e-07/0.8675, allocations: 0 / 1.232 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of Templates: time 0.02939/0.8969, allocations: 18.3 MB / 1.25 GB, free: 5.953 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/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