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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009332/0.0009334, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 181.6 kB / 16.92 MB, free: 6.918 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.496/1.496, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.878/2.878, allocations: 462.7 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004603, allocations: 10.25 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3976, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2222/0.6199, allocations: 185.6 MB / 1.241 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009842/0.6298, allocations: 5.701 MB / 1.246 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.6315, allocations: 35.75 kB / 1.246 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.6333, allocations: 0.4975 MB / 1.247 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004628/0.6379, allocations: 1.513 MB / 1.248 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.6414, allocations: 1.074 MB / 1.249 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.77/1.411, allocations: 3.481 MB / 1.253 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/1.413, allocations: 0.826 MB / 1.253 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/1.415, allocations: 0.8562 MB / 1.254 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/1.417, allocations: 0.8144 MB / 1.255 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/1.417, allocations: 41.22 kB / 1.255 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/1.42, allocations: 1.698 MB / 1.257 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005356/1.421, allocations: 426.2 kB / 1.257 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007733/1.422, allocations: 0.5672 MB / 1.258 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00264/1.424, allocations: 1.56 MB / 1.259 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.424, allocations: 4 kB / 1.259 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.236e-06/1.424, allocations: 0 / 1.259 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.862e-05/1.425, allocations: 1.969 kB / 1.259 GB, free: 4.312 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.002483/1.427, allocations: 1.242 MB / 1.26 GB, free: 19.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/1.427, allocations: 12.47 kB / 1.26 GB, free: 19.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/1.429, allocations: 340.7 kB / 1.261 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/1.43, allocations: 0.7698 MB / 1.262 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/1.431, allocations: 135.9 kB / 1.262 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.431, allocations: 91.38 kB / 1.262 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/1.433, allocations: 1.067 MB / 1.263 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/1.433, allocations: 10.31 kB / 1.263 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/1.433, allocations: 41.83 kB / 1.263 GB, free: 19.06 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/1.433, allocations: 34.94 kB / 1.263 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/1.434, allocations: 0.8455 MB / 1.264 GB, free: 19.04 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.006074/1.44, allocations: 4.065 MB / 1.268 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007232/1.441, allocations: 375.8 kB / 1.268 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/1.442, allocations: 211.8 kB / 1.268 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/1.442, allocations: 102.6 kB / 1.268 GB, free: 16.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/1.442, allocations: 39.38 kB / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 2.395e-06/1.442, allocations: 0 / 1.268 GB, free: 16.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.00289/1.445, allocations: 1.331 MB / 1.27 GB, free: 16.44 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/1.445, allocations: 60.92 kB / 1.27 GB, free: 16.37 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/1.447, allocations: 0.9951 MB / 1.271 GB, free: 16.21 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/1.447, allocations: 41.73 kB / 1.271 GB, free: 16.18 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003874/1.447, allocations: 495.7 kB / 1.271 GB, free: 15.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/1.447, allocations: 140.5 kB / 1.271 GB, free: 15.89 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.627e-05/1.447, allocations: 49.8 kB / 1.271 GB, free: 15.88 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.447, allocations: 333 kB / 1.272 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/1.448, allocations: 238.3 kB / 1.272 GB, free: 15.57 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/1.449, allocations: 406.3 kB / 1.272 GB, free: 15.39 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.003063/1.452, allocations: 1.202 MB / 1.273 GB, free: 15.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.452, allocations: 1.719 kB / 1.273 GB, free: 15.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001772/1.454, allocations: 0.7646 MB / 1.274 GB, free: 14.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.454, allocations: 6.969 kB / 1.274 GB, free: 14.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.454, allocations: 10.08 kB / 1.274 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/1.454, allocations: 8.094 kB / 1.274 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/1.454, allocations: 143.9 kB / 1.274 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/1.454, allocations: 9.109 kB / 1.274 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/1.455, allocations: 100.8 kB / 1.274 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/1.455, allocations: 24.09 kB / 1.275 GB, free: 14.96 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 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006075/1.456, allocations: 310.1 kB / 1.275 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/1.456, allocations: 100.7 kB / 1.275 GB, free: 14.79 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/1.456, allocations: 100.8 kB / 1.275 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/1.456, allocations: 4.406 kB / 1.275 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/1.456, allocations: 1.25 kB / 1.275 GB, free: 14.78 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007759/1.457, allocations: 0.6833 MB / 1.276 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/1.46, allocations: 1.592 MB / 1.277 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/1.46, allocations: 5.047 kB / 1.277 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/1.46, allocations: 88.78 kB / 1.277 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/1.46, allocations: 6.25 kB / 1.277 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/1.461, allocations: 10.95 kB / 1.277 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.11e-05/1.461, allocations: 9.672 kB / 1.277 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/1.461, allocations: 6.156 kB / 1.277 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.462, allocations: 0.8286 MB / 1.278 GB, free: 13.55 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/1.462, allocations: 241.1 kB / 1.278 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/1.462, allocations: 16.59 kB / 1.278 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/1.463, allocations: 58.77 kB / 1.278 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/1.463, allocations: 33.78 kB / 1.278 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.36e-05/1.463, allocations: 28.97 kB / 1.279 GB, free: 13.39 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001191/1.464, allocations: 0.7155 MB / 1.279 GB, free: 13.28 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.353e-06/1.464, allocations: 0 / 1.279 GB, free: 13.28 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000988/1.465, allocations: 256.4 kB / 1.279 GB, free: 13.27 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.0005082/1.466, allocations: 201.9 kB / 1.28 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001005/1.467, allocations: 0.4928 MB / 1.28 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.467, allocations: 2.375 kB / 1.28 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00031/1.467, allocations: 188 kB / 1.28 GB, free: 13.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/1.471, allocations: 0.6138 MB / 1.281 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/1.474, allocations: 2.328 MB / 1.283 GB, free: 11.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/1.474, allocations: 1.098 MB / 1.284 GB, free: 11.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/1.475, allocations: 80.05 kB / 1.284 GB, free: 11.14 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/1.475, allocations: 4 kB / 1.284 GB, free: 11.13 MB / 1.014 GB Notification: Performance of Templates: time 0.03316/1.508, allocations: 16.18 MB / 1.3 GB, free: 9.891 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches