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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00161/0.00161, allocations: 112.3 kB / 15.99 MB, free: 6.359 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.001612/0.001612, allocations: 193.7 kB / 16.91 MB, free: 6.195 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 / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.742/2.742, allocations: 482.4 MB / 0.755 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 68.88 kB / 0.924 GB, free: 352 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7388, allocations: 162.2 MB / 1.082 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.225/0.9638, allocations: 187.9 MB / 1.266 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01017/0.974, allocations: 5.672 MB / 1.271 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.9754, allocations: 35.75 kB / 1.272 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.9769, allocations: 0.5053 MB / 1.272 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004057/0.981, allocations: 1.506 MB / 1.273 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003342/0.9844, allocations: 1.104 MB / 1.275 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003508/0.9879, allocations: 2.492 MB / 1.277 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.9893, allocations: 0.9652 MB / 1.278 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.9917, allocations: 1.179 MB / 1.279 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.9938, allocations: 0.881 MB / 1.28 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.994, allocations: 104 kB / 1.28 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002997/0.997, allocations: 1.582 MB / 1.282 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005907/0.9976, allocations: 498.7 kB / 1.282 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008246/0.9984, allocations: 0.6339 MB / 1.283 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/1.001, allocations: 1.594 MB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.001, allocations: 0 / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.763e-06/1.001, allocations: 3.938 kB / 1.284 GB, free: 15.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.302e-05/1.001, allocations: 0 / 1.284 GB, free: 15.82 MB / 1.014 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.002468/1.003, allocations: 1.48 MB / 1.286 GB, free: 14.29 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/1.003, allocations: 8.031 kB / 1.286 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/1.005, allocations: 330.2 kB / 1.286 GB, free: 13.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/1.007, allocations: 0.7726 MB / 1.287 GB, free: 13.14 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003693/1.007, allocations: 125.9 kB / 1.287 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/1.007, allocations: 80 kB / 1.287 GB, free: 12.94 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/1.009, allocations: 1.068 MB / 1.288 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/1.009, allocations: 0 / 1.288 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.962e-05/1.009, allocations: 47.92 kB / 1.288 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.472e-05/1.009, allocations: 37.94 kB / 1.288 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/1.011, allocations: 0.8392 MB / 1.289 GB, free: 10.91 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.00619/1.017, allocations: 4.201 MB / 1.293 GB, free: 6.414 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/1.018, allocations: 366.7 kB / 1.293 GB, free: 6.047 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/1.018, allocations: 217.3 kB / 1.294 GB, free: 5.832 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001921/1.018, allocations: 97.09 kB / 1.294 GB, free: 5.719 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/1.018, allocations: 42.56 kB / 1.294 GB, free: 5.668 MB / 1.014 GB Notification: Performance of pre-optimization done (n=36): time 2.515e-06/1.018, allocations: 4 kB / 1.294 GB, free: 5.664 MB / 1.014 GB Notification: Performance of matching and sorting (n=38): time 0.002753/1.021, allocations: 1.333 MB / 1.295 GB, free: 4.277 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/1.021, allocations: 55.41 kB / 1.295 GB, free: 4.211 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/1.023, allocations: 0.996 MB / 1.296 GB, free: 3.191 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.647e-05/1.023, allocations: 33.7 kB / 1.296 GB, free: 3.152 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/1.023, allocations: 499.3 kB / 1.297 GB, free: 2.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/1.023, allocations: 138 kB / 1.297 GB, free: 2.523 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/1.023, allocations: 118.2 kB / 1.297 GB, free: 2.398 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.024, allocations: 330 kB / 1.297 GB, free: 2.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004872/1.024, allocations: 237.2 kB / 1.297 GB, free: 1.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006685/1.025, allocations: 402.5 kB / 1.298 GB, free: 1.379 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.002632/1.027, allocations: 1.191 MB / 1.299 GB, free: 100 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.027, allocations: 4 kB / 1.299 GB, free: 96 kB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001539/1.029, allocations: 0.7498 MB / 1.3 GB, free: 15.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.029, allocations: 12.09 kB / 1.3 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.029, allocations: 7.938 kB / 1.3 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.029, allocations: 8 kB / 1.3 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/1.03, allocations: 139.8 kB / 1.3 GB, free: 15.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/1.03, allocations: 11.94 kB / 1.3 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/1.031, allocations: 95.77 kB / 1.3 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/1.031, allocations: 24 kB / 1.3 GB, free: 15.04 MB / 1.029 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.0004917/1.031, allocations: 312 kB / 1.3 GB, free: 14.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/1.031, allocations: 106.8 kB / 1.3 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001772/1.032, allocations: 101 kB / 1.3 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/1.032, allocations: 4 kB / 1.3 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.032, allocations: 0 / 1.3 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007836/1.032, allocations: 0.6728 MB / 1.301 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1.035, allocations: 1.588 MB / 1.303 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.035, allocations: 4 kB / 1.303 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/1.035, allocations: 83.89 kB / 1.303 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/1.035, allocations: 11.94 kB / 1.303 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/1.035, allocations: 16 kB / 1.303 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/1.035, allocations: 7.938 kB / 1.303 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/1.036, allocations: 7.938 kB / 1.303 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/1.037, allocations: 0.8328 MB / 1.304 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003769/1.037, allocations: 243.8 kB / 1.304 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.037, allocations: 16 kB / 1.304 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/1.038, allocations: 49.92 kB / 1.304 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/1.038, allocations: 43.98 kB / 1.304 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-05/1.038, allocations: 27.98 kB / 1.304 GB, free: 10.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001069/1.039, allocations: 0.7112 MB / 1.305 GB, free: 9.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.6e-07/1.039, allocations: 0 / 1.305 GB, free: 9.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008372/1.04, allocations: 252 kB / 1.305 GB, free: 9.684 MB / 1.029 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.0005027/1.04, allocations: 190.8 kB / 1.305 GB, free: 9.496 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.042, allocations: 0.5309 MB / 1.306 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.042, allocations: 4.75 kB / 1.306 GB, free: 8.961 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002858/1.042, allocations: 195.7 kB / 1.306 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.045, allocations: 0.6192 MB / 1.306 GB, free: 8.164 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003269/1.048, allocations: 2.249 MB / 1.309 GB, free: 5.824 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/1.049, allocations: 1.103 MB / 1.31 GB, free: 4.691 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/1.049, allocations: 71.44 kB / 1.31 GB, free: 4.621 MB / 1.029 GB Notification: Performance of SimCode: time 6.02e-07/1.049, allocations: 0 / 1.31 GB, free: 4.621 MB / 1.029 GB Notification: Performance of Templates: time 0.02537/1.074, allocations: 16.3 MB / 1.326 GB, free: 4.469 MB / 1.045 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=400 -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