Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001792/0.001792, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002327/0.002327, allocations: 189.3 kB / 16.14 MB, free: 6.645 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.59 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2864, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2059/0.4924, allocations: 188.1 MB / 1.236 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01124/0.5037, allocations: 5.757 MB / 1.241 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.5054, allocations: 35.75 kB / 1.241 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.5075, allocations: 0.4896 MB / 1.242 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004423/0.5119, allocations: 1.521 MB / 1.243 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.5153, allocations: 1.075 MB / 1.244 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.686/1.201, allocations: 3.477 MB / 1.248 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/1.203, allocations: 0.8575 MB / 1.249 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/1.206, allocations: 0.8869 MB / 1.25 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/1.208, allocations: 0.8572 MB / 1.25 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002026/1.208, allocations: 55.58 kB / 1.25 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002861/1.211, allocations: 1.705 MB / 1.252 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004888/1.212, allocations: 451.4 kB / 1.253 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000735/1.212, allocations: 0.5743 MB / 1.253 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003273/1.216, allocations: 2.136 MB / 1.255 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.216, allocations: 0 / 1.255 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.202e-06/1.216, allocations: 0 / 1.255 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.074e-05/1.216, allocations: 0 / 1.255 GB, free: 4.07 MB / 0.9981 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.002799/1.219, allocations: 1.478 MB / 1.257 GB, free: 19.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.219, allocations: 9.078 kB / 1.257 GB, free: 19.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/1.221, allocations: 330.9 kB / 1.257 GB, free: 19.25 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/1.222, allocations: 0.7778 MB / 1.258 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/1.222, allocations: 118.2 kB / 1.258 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.222, allocations: 80.55 kB / 1.258 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/1.224, allocations: 1.072 MB / 1.259 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/1.224, allocations: 8.906 kB / 1.259 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-05/1.224, allocations: 35.97 kB / 1.259 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/1.225, allocations: 35.08 kB / 1.259 GB, free: 18.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/1.226, allocations: 0.8381 MB / 1.26 GB, free: 18.79 MB / 1.014 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.005712/1.232, allocations: 4.046 MB / 1.264 GB, free: 16.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006575/1.232, allocations: 363.6 kB / 1.264 GB, free: 16.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/1.233, allocations: 217.4 kB / 1.264 GB, free: 16.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/1.233, allocations: 104 kB / 1.264 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.233, allocations: 45.34 kB / 1.264 GB, free: 16.64 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 1.873e-06/1.233, allocations: 0 / 1.264 GB, free: 16.64 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.002798/1.236, allocations: 1.32 MB / 1.266 GB, free: 16.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.236, allocations: 66.56 kB / 1.266 GB, free: 16.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/1.237, allocations: 0.9915 MB / 1.267 GB, free: 15.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/1.237, allocations: 34.06 kB / 1.267 GB, free: 15.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/1.238, allocations: 0.4915 MB / 1.267 GB, free: 15.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/1.238, allocations: 139.1 kB / 1.267 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/1.238, allocations: 119.1 kB / 1.268 GB, free: 15.62 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.238, allocations: 325.7 kB / 1.268 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/1.239, allocations: 235.6 kB / 1.268 GB, free: 15.31 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/1.239, allocations: 407 kB / 1.268 GB, free: 15.12 MB / 1.014 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.002764/1.242, allocations: 1.187 MB / 1.27 GB, free: 14.82 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.242, allocations: 1.594 kB / 1.27 GB, free: 14.82 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001747/1.244, allocations: 0.7543 MB / 1.27 GB, free: 14.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/1.244, allocations: 7.562 kB / 1.27 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/1.244, allocations: 6.109 kB / 1.27 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/1.244, allocations: 8.188 kB / 1.27 GB, free: 14.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/1.244, allocations: 145 kB / 1.271 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/1.245, allocations: 12.31 kB / 1.271 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.246, allocations: 89.77 kB / 1.271 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/1.246, allocations: 25.06 kB / 1.271 GB, free: 14.7 MB / 1.014 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.0004428/1.246, allocations: 306.3 kB / 1.271 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/1.246, allocations: 113.5 kB / 1.271 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/1.246, allocations: 101.4 kB / 1.271 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.246, allocations: 4.25 kB / 1.271 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/1.246, allocations: 4 kB / 1.271 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006557/1.247, allocations: 0.68 MB / 1.272 GB, free: 14.07 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/1.25, allocations: 1.585 MB / 1.273 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.25, allocations: 8 kB / 1.273 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000395/1.25, allocations: 82.66 kB / 1.273 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/1.25, allocations: 11.03 kB / 1.273 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/1.25, allocations: 15.95 kB / 1.274 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/1.25, allocations: 9.438 kB / 1.274 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/1.25, allocations: 4.672 kB / 1.274 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/1.251, allocations: 0.8338 MB / 1.274 GB, free: 13.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003889/1.251, allocations: 235.2 kB / 1.275 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/1.252, allocations: 13.64 kB / 1.275 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007535/1.252, allocations: 54.91 kB / 1.275 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/1.252, allocations: 40.5 kB / 1.275 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/1.253, allocations: 27.06 kB / 1.275 GB, free: 13.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00106/1.254, allocations: 0.7038 MB / 1.275 GB, free: 13.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.11e-07/1.254, allocations: 0 / 1.275 GB, free: 13.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009339/1.255, allocations: 255.2 kB / 1.276 GB, free: 13.02 MB / 1.014 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.0004512/1.255, allocations: 211.3 kB / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009542/1.256, allocations: 489.5 kB / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/1.256, allocations: 4.031 kB / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/1.256, allocations: 193.8 kB / 1.276 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/1.259, allocations: 0.5946 MB / 1.277 GB, free: 12.87 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/1.262, allocations: 2.172 MB / 1.279 GB, free: 11.67 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/1.263, allocations: 1.1 MB / 1.28 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00106/1.264, allocations: 243.7 kB / 1.28 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/1.264, allocations: 68.78 kB / 1.281 GB, free: 10.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.282e-06/1.264, allocations: 0 / 1.281 GB, free: 10.91 MB / 1.014 GB Notification: Performance of Templates: time 0.03649/1.3, allocations: 18.97 MB / 1.299 GB, free: 9.773 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches