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.001214/0.001213, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001204/0.001204, allocations: 187 kB / 17.34 MB, free: 5.766 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.68/2.68, allocations: 461.9 MB / 0.7355 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 67.89 kB / 1.055 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8569/0.8585, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2085/1.067, allocations: 190.4 MB / 1.394 GB, free: 14.62 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00951/1.077, allocations: 5.691 MB / 1.4 GB, free: 8.918 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/1.078, allocations: 39.81 kB / 1.4 GB, free: 8.879 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/1.08, allocations: 0.5708 MB / 1.4 GB, free: 8.305 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004096/1.084, allocations: 1.602 MB / 1.402 GB, free: 6.695 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/1.088, allocations: 1.202 MB / 1.403 GB, free: 5.5 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003525/1.091, allocations: 2.511 MB / 1.406 GB, free: 2.977 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/1.093, allocations: 1.002 MB / 1.407 GB, free: 1.957 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/1.095, allocations: 1.039 MB / 1.408 GB, free: 0.9141 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/1.097, allocations: 0.8107 MB / 1.408 GB, free: 108 kB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002072/1.097, allocations: 100 kB / 1.409 GB, free: 8 kB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/1.1, allocations: 1.528 MB / 1.41 GB, free: 14.48 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005452/1.1, allocations: 498.7 kB / 1.41 GB, free: 13.99 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0008044/1.101, allocations: 0.6183 MB / 1.411 GB, free: 13.37 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003079/1.104, allocations: 2.115 MB / 1.413 GB, free: 11.23 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.104, allocations: 0 / 1.413 GB, free: 11.23 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.014e-06/1.104, allocations: 0 / 1.413 GB, free: 11.23 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.987e-05/1.104, allocations: 0 / 1.413 GB, free: 11.23 MB / 1.139 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.00234/1.107, allocations: 1.472 MB / 1.415 GB, free: 9.711 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.107, allocations: 12.03 kB / 1.415 GB, free: 9.699 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/1.109, allocations: 330.3 kB / 1.415 GB, free: 9.375 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/1.11, allocations: 0.8077 MB / 1.416 GB, free: 8.523 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/1.11, allocations: 66 kB / 1.416 GB, free: 8.461 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/1.11, allocations: 91.89 kB / 1.416 GB, free: 8.371 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/1.112, allocations: 1.07 MB / 1.417 GB, free: 7.258 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/1.112, allocations: 4 kB / 1.417 GB, free: 7.254 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.314e-05/1.112, allocations: 36 kB / 1.417 GB, free: 7.219 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/1.112, allocations: 37.98 kB / 1.417 GB, free: 7.184 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/1.114, allocations: 0.8274 MB / 1.418 GB, free: 6.355 MB / 1.139 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.005588/1.119, allocations: 4.258 MB / 1.422 GB, free: 1.828 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/1.12, allocations: 374.6 kB / 1.422 GB, free: 1.453 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/1.12, allocations: 208.8 kB / 1.423 GB, free: 1.246 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/1.12, allocations: 101.1 kB / 1.423 GB, free: 1.129 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/1.12, allocations: 42.56 kB / 1.423 GB, free: 1.078 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 2.615e-06/1.12, allocations: 0 / 1.423 GB, free: 1.078 MB / 1.139 GB Notification: Performance of matching and sorting (n=38): time 0.002608/1.123, allocations: 1.326 MB / 1.424 GB, free: 15.7 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.123, allocations: 59.16 kB / 1.424 GB, free: 15.63 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.124, allocations: 1.001 MB / 1.425 GB, free: 14.61 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/1.125, allocations: 37.7 kB / 1.425 GB, free: 14.56 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/1.125, allocations: 499.2 kB / 1.425 GB, free: 14.07 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/1.125, allocations: 142 kB / 1.426 GB, free: 13.93 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/1.125, allocations: 126.1 kB / 1.426 GB, free: 13.8 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.125, allocations: 334 kB / 1.426 GB, free: 13.47 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/1.126, allocations: 237.2 kB / 1.426 GB, free: 13.23 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/1.126, allocations: 419.8 kB / 1.427 GB, free: 12.75 MB / 1.154 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.002458/1.129, allocations: 1.221 MB / 1.428 GB, free: 11.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.129, allocations: 0 / 1.428 GB, free: 11.43 MB / 1.154 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001469/1.13, allocations: 0.7616 MB / 1.429 GB, free: 10.66 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.13, allocations: 8 kB / 1.429 GB, free: 10.65 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.13, allocations: 8 kB / 1.429 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/1.13, allocations: 11.94 kB / 1.429 GB, free: 10.63 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/1.131, allocations: 148.1 kB / 1.429 GB, free: 10.49 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/1.131, allocations: 11.94 kB / 1.429 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009222/1.132, allocations: 51.95 kB / 1.429 GB, free: 10.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/1.132, allocations: 31.98 kB / 1.429 GB, free: 10.39 MB / 1.154 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: 25 * 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 (74): * Single equations (assignments): 74 * 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.0004752/1.133, allocations: 315.1 kB / 1.429 GB, free: 10.08 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/1.133, allocations: 98.88 kB / 1.429 GB, free: 9.98 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/1.133, allocations: 101 kB / 1.429 GB, free: 9.879 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/1.133, allocations: 7.938 kB / 1.429 GB, free: 9.871 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.133, allocations: 0 / 1.429 GB, free: 9.871 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000683/1.134, allocations: 0.6831 MB / 1.43 GB, free: 9.102 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/1.136, allocations: 1.584 MB / 1.432 GB, free: 7.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.136, allocations: 4 kB / 1.432 GB, free: 7.406 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/1.136, allocations: 79.91 kB / 1.432 GB, free: 7.328 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/1.136, allocations: 4 kB / 1.432 GB, free: 7.324 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/1.136, allocations: 16.48 kB / 1.432 GB, free: 7.309 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/1.136, allocations: 15.94 kB / 1.432 GB, free: 7.293 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.136, allocations: 8.016 kB / 1.432 GB, free: 7.285 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/1.137, allocations: 0.8279 MB / 1.433 GB, free: 6.395 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003429/1.138, allocations: 231.9 kB / 1.433 GB, free: 6.148 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/1.138, allocations: 23.86 kB / 1.433 GB, free: 6.125 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/1.139, allocations: 39.95 kB / 1.433 GB, free: 6.086 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.575e-05/1.139, allocations: 39.84 kB / 1.433 GB, free: 6.047 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.469e-05/1.139, allocations: 23.98 kB / 1.433 GB, free: 6.023 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000982/1.14, allocations: 0.7116 MB / 1.434 GB, free: 5.301 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.51e-07/1.14, allocations: 0 / 1.434 GB, free: 5.301 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000819/1.141, allocations: 260 kB / 1.434 GB, free: 5.047 MB / 1.154 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.0004681/1.141, allocations: 205.6 kB / 1.434 GB, free: 4.844 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009284/1.142, allocations: 0.5044 MB / 1.435 GB, free: 4.34 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.142, allocations: 4 kB / 1.435 GB, free: 4.336 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/1.142, allocations: 179.7 kB / 1.435 GB, free: 4.16 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002707/1.145, allocations: 0.6231 MB / 1.435 GB, free: 3.551 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/1.148, allocations: 1.91 MB / 1.437 GB, free: 1.555 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006482/1.148, allocations: 1.095 MB / 1.438 GB, free: 440 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/1.149, allocations: 75.44 kB / 1.438 GB, free: 364 kB / 1.154 GB Notification: Performance of SimCode: time 9.62e-07/1.149, allocations: 0 / 1.438 GB, free: 364 kB / 1.154 GB Notification: Performance of Templates: time 0.023/1.172, allocations: 16.48 MB / 1.454 GB, free: 24 kB / 1.17 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