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.001301/0.001301, allocations: 103.7 kB / 16.27 MB, free: 5.98 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.001398/0.001398, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 65.05 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3436, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.7962/1.14, allocations: 190.3 MB / 1.25 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00949/1.149, allocations: 5.678 MB / 1.256 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00167/1.151, allocations: 39.75 kB / 1.256 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001783/1.153, allocations: 0.5708 MB / 1.256 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004491/1.157, allocations: 1.61 MB / 1.258 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003448/1.161, allocations: 1.194 MB / 1.259 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003618/1.165, allocations: 2.507 MB / 1.261 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/1.166, allocations: 0.9885 MB / 1.262 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00225/1.168, allocations: 1.023 MB / 1.263 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/1.171, allocations: 0.8266 MB / 1.264 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003813/1.171, allocations: 100 kB / 1.264 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/1.174, allocations: 1.524 MB / 1.266 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007991/1.175, allocations: 494.8 kB / 1.266 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/1.177, allocations: 0.6261 MB / 1.267 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003952/1.181, allocations: 2.084 MB / 1.269 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.181, allocations: 0 / 1.269 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/1.181, allocations: 0 / 1.269 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.216e-05/1.181, allocations: 0 / 1.269 GB, free: 7.465 MB / 0.9825 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.003141/1.184, allocations: 1.485 MB / 1.27 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.184, allocations: 8.031 kB / 1.27 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/1.186, allocations: 334.3 kB / 1.271 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/1.188, allocations: 0.7649 MB / 1.271 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003726/1.188, allocations: 121.9 kB / 1.272 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/1.188, allocations: 87.92 kB / 1.272 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/1.19, allocations: 1.082 MB / 1.273 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/1.19, allocations: 4 kB / 1.273 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.903e-05/1.19, allocations: 40 kB / 1.273 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/1.19, allocations: 30 kB / 1.273 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/1.192, allocations: 0.843 MB / 1.274 GB, free: 2.539 MB / 0.9825 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.006073/1.198, allocations: 4.305 MB / 1.278 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/1.199, allocations: 372.1 kB / 1.278 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/1.199, allocations: 216.7 kB / 1.278 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001961/1.199, allocations: 97.09 kB / 1.278 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/1.199, allocations: 42.56 kB / 1.278 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=36): time 2.695e-06/1.199, allocations: 0 / 1.278 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=38): time 0.002677/1.202, allocations: 1.329 MB / 1.28 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/1.202, allocations: 59.41 kB / 1.28 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.204, allocations: 1.012 MB / 1.281 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.715e-05/1.204, allocations: 33.7 kB / 1.281 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/1.204, allocations: 0.4914 MB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/1.204, allocations: 142.1 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/1.204, allocations: 126.2 kB / 1.282 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.204, allocations: 326 kB / 1.282 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/1.205, allocations: 237.2 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/1.206, allocations: 429.8 kB / 1.283 GB, free: 8.867 MB / 0.9981 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.002466/1.208, allocations: 1.223 MB / 1.284 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/1.208, allocations: 0 / 1.284 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001457/1.21, allocations: 0.7854 MB / 1.284 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.21, allocations: 4 kB / 1.284 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.21, allocations: 11.94 kB / 1.285 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.21, allocations: 12.28 kB / 1.285 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/1.21, allocations: 147.8 kB / 1.285 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/1.21, allocations: 11.94 kB / 1.285 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/1.211, allocations: 63.94 kB / 1.285 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/1.211, allocations: 28 kB / 1.285 GB, free: 6.48 MB / 0.9981 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.0004605/1.212, allocations: 306.1 kB / 1.285 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/1.212, allocations: 102.9 kB / 1.285 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/1.212, allocations: 105 kB / 1.285 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/1.212, allocations: 4 kB / 1.285 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/1.212, allocations: 0 / 1.285 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006931/1.213, allocations: 0.683 MB / 1.286 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/1.215, allocations: 1.592 MB / 1.287 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.215, allocations: 7.938 kB / 1.287 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/1.216, allocations: 79.89 kB / 1.288 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/1.216, allocations: 8 kB / 1.288 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/1.216, allocations: 12 kB / 1.288 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/1.216, allocations: 11.94 kB / 1.288 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.216, allocations: 16.62 kB / 1.288 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/1.217, allocations: 0.8227 MB / 1.288 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/1.217, allocations: 239.9 kB / 1.289 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/1.218, allocations: 15.94 kB / 1.289 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007229/1.218, allocations: 41.59 kB / 1.289 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/1.218, allocations: 35.84 kB / 1.289 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.896e-05/1.218, allocations: 27.98 kB / 1.289 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001077/1.22, allocations: 0.7077 MB / 1.289 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.22, allocations: 4 kB / 1.289 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008969/1.22, allocations: 260 kB / 1.29 GB, free: 1.125 MB / 0.9981 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.0004974/1.221, allocations: 208.4 kB / 1.29 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001028/1.222, allocations: 0.5376 MB / 1.29 GB, free: 392 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.222, allocations: 3.938 kB / 1.29 GB, free: 388 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/1.222, allocations: 189.4 kB / 1.291 GB, free: 200 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/1.225, allocations: 0.6205 MB / 1.291 GB, free: 15.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/1.228, allocations: 1.929 MB / 1.293 GB, free: 13.57 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/1.229, allocations: 1.099 MB / 1.294 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.229, allocations: 79.44 kB / 1.294 GB, free: 12.37 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/1.229, allocations: 0 / 1.294 GB, free: 12.37 MB / 1.014 GB Notification: Performance of Templates: time 0.0255/1.255, allocations: 16.39 MB / 1.31 GB, free: 12.13 MB / 1.029 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