Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001506/0.001506, allocations: 105 kB / 15.98 MB, free: 6.352 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.001598/0.001598, allocations: 195.3 kB / 16.91 MB, free: 6.184 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.326/1.326, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.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.399/2.399, allocations: 390.3 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 65.83 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2804, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7551/1.036, allocations: 187.9 MB / 1.133 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01004/1.046, allocations: 5.657 MB / 1.139 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/1.048, allocations: 36.41 kB / 1.139 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/1.049, allocations: 0.5016 MB / 1.139 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004758/1.054, allocations: 1.515 MB / 1.141 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003569/1.058, allocations: 1.109 MB / 1.142 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.004265/1.062, allocations: 2.493 MB / 1.144 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/1.064, allocations: 0.9603 MB / 1.145 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002689/1.066, allocations: 1.026 MB / 1.146 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/1.069, allocations: 0.8826 MB / 1.147 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000454/1.07, allocations: 102.5 kB / 1.147 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/1.074, allocations: 1.591 MB / 1.149 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008717/1.075, allocations: 499.1 kB / 1.149 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001882/1.077, allocations: 0.6279 MB / 1.15 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003375/1.08, allocations: 1.591 MB / 1.151 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.08, allocations: 0 / 1.151 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.276e-06/1.08, allocations: 0.8125 kB / 1.151 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.374e-05/1.081, allocations: 4 kB / 1.151 GB, free: 3.324 MB / 0.8575 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.00485/1.085, allocations: 1.477 MB / 1.153 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.086, allocations: 13.38 kB / 1.153 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/1.088, allocations: 330.8 kB / 1.153 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/1.09, allocations: 0.771 MB / 1.154 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003893/1.09, allocations: 117.9 kB / 1.154 GB, free: 17.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/1.091, allocations: 83.47 kB / 1.154 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/1.093, allocations: 1.075 MB / 1.155 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/1.093, allocations: 9.125 kB / 1.155 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.093, allocations: 36.88 kB / 1.155 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/1.093, allocations: 35.64 kB / 1.155 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/1.095, allocations: 0.8308 MB / 1.156 GB, free: 17 MB / 0.8731 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.00596/1.101, allocations: 4.057 MB / 1.16 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/1.102, allocations: 368.7 kB / 1.16 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/1.102, allocations: 221 kB / 1.161 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/1.102, allocations: 104 kB / 1.161 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/1.102, allocations: 42.69 kB / 1.161 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=36): time 2.615e-06/1.102, allocations: 0 / 1.161 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=38): time 0.003229/1.105, allocations: 1.332 MB / 1.162 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/1.105, allocations: 57.11 kB / 1.162 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/1.107, allocations: 0.9936 MB / 1.163 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/1.107, allocations: 34.42 kB / 1.163 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000424/1.108, allocations: 497.6 kB / 1.164 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/1.108, allocations: 141.5 kB / 1.164 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.108, allocations: 116.4 kB / 1.164 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.108, allocations: 327.4 kB / 1.164 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/1.109, allocations: 237.8 kB / 1.164 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/1.11, allocations: 399.5 kB / 1.165 GB, free: 11.41 MB / 0.8731 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.002418/1.112, allocations: 1.204 MB / 1.166 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/1.112, allocations: 0.875 kB / 1.166 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001496/1.114, allocations: 0.753 MB / 1.167 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.114, allocations: 12.31 kB / 1.167 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.114, allocations: 4.406 kB / 1.167 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/1.114, allocations: 7.812 kB / 1.167 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006163/1.114, allocations: 139.8 kB / 1.167 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/1.114, allocations: 11.12 kB / 1.167 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.116, allocations: 92.05 kB / 1.167 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/1.116, allocations: 30.06 kB / 1.167 GB, free: 10.42 MB / 0.8731 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.0005834/1.116, allocations: 320.5 kB / 1.167 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002648/1.116, allocations: 104.2 kB / 1.167 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/1.117, allocations: 104 kB / 1.167 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.117, allocations: 2.406 kB / 1.167 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/1.117, allocations: 2.5 kB / 1.167 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007134/1.117, allocations: 0.6737 MB / 1.168 GB, free: 9.543 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/1.121, allocations: 1.582 MB / 1.17 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.121, allocations: 4.125 kB / 1.17 GB, free: 8.691 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/1.121, allocations: 82.03 kB / 1.17 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.121, allocations: 13.38 kB / 1.17 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/1.121, allocations: 28.12 kB / 1.17 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.277e-06/1.121, allocations: 8.219 kB / 1.17 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.121, allocations: 4.625 kB / 1.17 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/1.122, allocations: 0.8339 MB / 1.171 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/1.123, allocations: 239.5 kB / 1.171 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002657/1.123, allocations: 12.23 kB / 1.171 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008976/1.124, allocations: 60.89 kB / 1.171 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/1.124, allocations: 36.56 kB / 1.171 GB, free: 7.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.607e-05/1.124, allocations: 26.05 kB / 1.171 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001111/1.125, allocations: 0.7072 MB / 1.172 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/1.125, allocations: 0 / 1.172 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001106/1.126, allocations: 254.7 kB / 1.172 GB, free: 7.617 MB / 0.8731 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.0005795/1.127, allocations: 203 kB / 1.172 GB, free: 7.492 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.128, allocations: 0.5196 MB / 1.173 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.128, allocations: 2.156 kB / 1.173 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002753/1.128, allocations: 192.8 kB / 1.173 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/1.131, allocations: 0.6213 MB / 1.173 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003442/1.135, allocations: 2.248 MB / 1.176 GB, free: 5.629 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008501/1.136, allocations: 1.095 MB / 1.177 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/1.136, allocations: 76.75 kB / 1.177 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.136, allocations: 0 / 1.177 GB, free: 4.867 MB / 0.8731 GB Notification: Performance of Templates: time 0.02676/1.163, allocations: 16.28 MB / 1.193 GB, free: 13.26 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches