Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007805/0.007805, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.002017/0.002017, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.89 kB / 0.9508 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9177/0.9191, allocations: 140.4 MB / 1.088 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2365/1.156, allocations: 190.3 MB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01011/1.166, allocations: 5.683 MB / 1.279 GB, free: 9.738 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/1.168, allocations: 39.81 kB / 1.279 GB, free: 9.699 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/1.169, allocations: 0.5942 MB / 1.28 GB, free: 9.102 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004473/1.174, allocations: 1.676 MB / 1.282 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00491/1.179, allocations: 1.207 MB / 1.283 GB, free: 6.219 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004256/1.183, allocations: 2.523 MB / 1.285 GB, free: 3.691 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/1.184, allocations: 1 MB / 1.286 GB, free: 2.672 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/1.186, allocations: 1.059 MB / 1.287 GB, free: 1.609 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/1.188, allocations: 0.8127 MB / 1.288 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001588/1.188, allocations: 100 kB / 1.288 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003079/1.191, allocations: 1.54 MB / 1.29 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005033/1.192, allocations: 490.8 kB / 1.29 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007551/1.193, allocations: 0.6261 MB / 1.291 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/1.196, allocations: 2.1 MB / 1.293 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.196, allocations: 0 / 1.293 GB, free: 11.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.586e-06/1.196, allocations: 8 kB / 1.293 GB, free: 11.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.634e-05/1.196, allocations: 0 / 1.293 GB, free: 11.94 MB / 1.029 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.002415/1.198, allocations: 1.472 MB / 1.294 GB, free: 10.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.198, allocations: 12.03 kB / 1.294 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/1.2, allocations: 338.2 kB / 1.295 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/1.201, allocations: 0.8039 MB / 1.295 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.375e-05/1.202, allocations: 69.94 kB / 1.295 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.202, allocations: 84 kB / 1.295 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/1.203, allocations: 1.078 MB / 1.297 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/1.203, allocations: 8 kB / 1.297 GB, free: 7.945 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.551e-05/1.204, allocations: 32 kB / 1.297 GB, free: 7.914 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/1.204, allocations: 34 kB / 1.297 GB, free: 7.883 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/1.205, allocations: 0.8314 MB / 1.297 GB, free: 7.047 MB / 1.029 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.005512/1.211, allocations: 4.262 MB / 1.302 GB, free: 2.512 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/1.211, allocations: 360.2 kB / 1.302 GB, free: 2.152 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/1.212, allocations: 217.3 kB / 1.302 GB, free: 1.938 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/1.212, allocations: 100.9 kB / 1.302 GB, free: 1.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/1.212, allocations: 38.56 kB / 1.302 GB, free: 1.773 MB / 1.029 GB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/1.212, allocations: 4 kB / 1.302 GB, free: 1.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=38): time 0.002538/1.214, allocations: 1.329 MB / 1.304 GB, free: 396 kB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/1.214, allocations: 55.41 kB / 1.304 GB, free: 328 kB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/1.216, allocations: 1.008 MB / 1.305 GB, free: 15.29 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/1.216, allocations: 33.7 kB / 1.305 GB, free: 15.25 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/1.216, allocations: 0.4914 MB / 1.305 GB, free: 14.75 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/1.216, allocations: 138 kB / 1.305 GB, free: 14.62 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.217, allocations: 126.1 kB / 1.305 GB, free: 14.49 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.217, allocations: 326 kB / 1.306 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004511/1.217, allocations: 237.2 kB / 1.306 GB, free: 13.93 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/1.218, allocations: 423.7 kB / 1.306 GB, free: 13.44 MB / 1.045 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.002501/1.22, allocations: 1.221 MB / 1.308 GB, free: 12.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.22, allocations: 4 kB / 1.308 GB, free: 12.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001379/1.222, allocations: 0.7729 MB / 1.308 GB, free: 11.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.222, allocations: 10.34 kB / 1.308 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.222, allocations: 4 kB / 1.308 GB, free: 11.33 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/1.222, allocations: 15.94 kB / 1.308 GB, free: 11.31 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/1.222, allocations: 136.2 kB / 1.308 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/1.222, allocations: 19.92 kB / 1.308 GB, free: 11.16 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008376/1.223, allocations: 51.95 kB / 1.308 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/1.223, allocations: 24 kB / 1.309 GB, free: 11.09 MB / 1.045 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.000443/1.224, allocations: 317.5 kB / 1.309 GB, free: 10.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/1.224, allocations: 98.88 kB / 1.309 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/1.224, allocations: 109 kB / 1.309 GB, free: 10.56 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/1.224, allocations: 4 kB / 1.309 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.224, allocations: 0 / 1.309 GB, free: 10.55 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006776/1.225, allocations: 0.6788 MB / 1.31 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/1.227, allocations: 1.58 MB / 1.311 GB, free: 8.102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.227, allocations: 4 kB / 1.311 GB, free: 8.098 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/1.227, allocations: 91.77 kB / 1.311 GB, free: 8.008 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/1.228, allocations: 12 kB / 1.311 GB, free: 7.996 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/1.228, allocations: 12 kB / 1.311 GB, free: 7.984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.228, allocations: 8.438 kB / 1.311 GB, free: 7.977 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.228, allocations: 7.938 kB / 1.311 GB, free: 7.969 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/1.229, allocations: 0.8394 MB / 1.312 GB, free: 7.066 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/1.229, allocations: 239.8 kB / 1.312 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.229, allocations: 15.94 kB / 1.312 GB, free: 6.797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000643/1.23, allocations: 31.97 kB / 1.312 GB, free: 6.766 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/1.23, allocations: 43.84 kB / 1.312 GB, free: 6.723 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.792e-05/1.23, allocations: 27.98 kB / 1.313 GB, free: 6.695 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0009705/1.231, allocations: 0.7038 MB / 1.313 GB, free: 5.98 MB / 1.045 GB Notification: Performance of sort global known variables: time 2e-07/1.231, allocations: 0 / 1.313 GB, free: 5.98 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008534/1.232, allocations: 256 kB / 1.313 GB, free: 5.73 MB / 1.045 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.0005112/1.232, allocations: 204.6 kB / 1.314 GB, free: 5.523 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009823/1.233, allocations: 0.4967 MB / 1.314 GB, free: 5.027 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.233, allocations: 4.125 kB / 1.314 GB, free: 5.023 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002749/1.234, allocations: 191.7 kB / 1.314 GB, free: 4.836 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/1.236, allocations: 0.6211 MB / 1.315 GB, free: 4.23 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/1.239, allocations: 1.834 MB / 1.317 GB, free: 2.316 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007919/1.24, allocations: 1.099 MB / 1.318 GB, free: 1.188 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0008504/1.241, allocations: 256.2 kB / 1.318 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/1.241, allocations: 67.44 kB / 1.318 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/1.241, allocations: 0 / 1.318 GB, free: 0.8672 MB / 1.045 GB Notification: Performance of Templates: time 0.03442/1.275, allocations: 19.9 MB / 1.338 GB, free: 13.26 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches