Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001349/0.001349, allocations: 194.5 kB / 16.26 MB, free: 6.621 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.365/2.365, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.88 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.596/0.5973, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1859/0.7833, allocations: 184.8 MB / 1.13 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01497/0.7983, allocations: 12.97 MB / 1.142 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/0.7993, allocations: 27.81 kB / 1.142 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/0.8006, allocations: 370 kB / 1.143 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.8034, allocations: 1.082 MB / 1.144 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.8056, allocations: 0.6295 MB / 1.144 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00287/0.8085, allocations: 2.024 MB / 1.146 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.8098, allocations: 0.8082 MB / 1.147 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/0.8136, allocations: 1.779 MB / 1.149 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.8154, allocations: 0.6982 MB / 1.15 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001985/0.8156, allocations: 80 kB / 1.15 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.8174, allocations: 0.9079 MB / 1.151 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004538/0.8179, allocations: 387 kB / 1.151 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007264/0.8186, allocations: 0.5015 MB / 1.151 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.8207, allocations: 1.531 MB / 1.153 GB, free: 0.6875 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8207, allocations: 3.984 kB / 1.153 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8207, allocations: 0 / 1.153 GB, free: 0.6836 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.696e-05/0.8208, allocations: 0 / 1.153 GB, free: 0.6836 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002094/0.8229, allocations: 1.227 MB / 1.154 GB, free: 15.4 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.8229, allocations: 12.03 kB / 1.154 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.8231, allocations: 122.5 kB / 1.154 GB, free: 15.26 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.8244, allocations: 214.6 kB / 1.154 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.8254, allocations: 0.6442 MB / 1.155 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.8255, allocations: 54 kB / 1.155 GB, free: 14.31 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.8256, allocations: 79.94 kB / 1.155 GB, free: 14.23 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.8269, allocations: 0.9404 MB / 1.156 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.827, allocations: 3.938 kB / 1.156 GB, free: 13.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.077e-05/0.827, allocations: 35.94 kB / 1.156 GB, free: 13.17 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.692e-05/0.8271, allocations: 33.3 kB / 1.156 GB, free: 13.14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009707/0.8281, allocations: 0.6138 MB / 1.157 GB, free: 12.52 MB / 0.92 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.004091/0.8322, allocations: 4.585 MB / 1.161 GB, free: 7.645 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.8329, allocations: 0.5478 MB / 1.162 GB, free: 7.055 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.8332, allocations: 250.2 kB / 1.162 GB, free: 6.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.8334, allocations: 109.8 kB / 1.162 GB, free: 6.676 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.8335, allocations: 38.56 kB / 1.162 GB, free: 6.629 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.8335, allocations: 0 / 1.162 GB, free: 6.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002712/0.8362, allocations: 1.582 MB / 1.164 GB, free: 4.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.8363, allocations: 114.9 kB / 1.164 GB, free: 4.852 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007756/0.8371, allocations: 0.7116 MB / 1.165 GB, free: 4.125 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.8371, allocations: 33.7 kB / 1.165 GB, free: 4.086 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.8374, allocations: 419.8 kB / 1.165 GB, free: 3.672 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.8375, allocations: 157.7 kB / 1.165 GB, free: 3.516 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.8377, allocations: 122.2 kB / 1.165 GB, free: 3.387 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.8378, allocations: 325.9 kB / 1.166 GB, free: 3.062 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.8381, allocations: 193.2 kB / 1.166 GB, free: 2.875 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.8385, allocations: 421 kB / 1.166 GB, free: 2.367 MB / 0.92 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.8407, allocations: 1.169 MB / 1.167 GB, free: 1.094 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.8407, allocations: 4 kB / 1.167 GB, free: 1.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009442/0.8416, allocations: 0.6758 MB / 1.168 GB, free: 416 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.8417, allocations: 15.94 kB / 1.168 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.8417, allocations: 4 kB / 1.168 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.8417, allocations: 12 kB / 1.168 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.8422, allocations: 119.8 kB / 1.168 GB, free: 264 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.8422, allocations: 19.92 kB / 1.168 GB, free: 244 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006028/0.8428, allocations: 55.81 kB / 1.168 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.8429, allocations: 28 kB / 1.168 GB, free: 160 kB / 0.92 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0003935/0.8433, allocations: 273.6 kB / 1.168 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.8434, allocations: 83 kB / 1.169 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.8436, allocations: 91.66 kB / 1.169 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.8436, allocations: 8 kB / 1.169 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.8436, allocations: 4 kB / 1.169 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000782/0.8444, allocations: 0.6921 MB / 1.169 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.8467, allocations: 1.642 MB / 1.171 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.8467, allocations: 8.094 kB / 1.171 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.8472, allocations: 99.77 kB / 1.171 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.8472, allocations: 11.94 kB / 1.171 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.174e-05/0.8473, allocations: 19.98 kB / 1.171 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.8473, allocations: 8.062 kB / 1.171 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.8473, allocations: 7.938 kB / 1.171 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.8484, allocations: 0.8607 MB / 1.172 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.8487, allocations: 216.1 kB / 1.172 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.8488, allocations: 16 kB / 1.172 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.8493, allocations: 41.83 kB / 1.172 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.529e-05/0.8494, allocations: 35.84 kB / 1.172 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.8494, allocations: 27.98 kB / 1.172 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006114/0.85, allocations: 0.5146 MB / 1.173 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.21e-07/0.85, allocations: 0 / 1.173 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007201/0.8508, allocations: 200 kB / 1.173 GB, free: 11.04 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001678/0.8525, allocations: 1.507 MB / 1.174 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008776/0.8533, allocations: 0.5162 MB / 1.175 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8534, allocations: 0 / 1.175 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.8537, allocations: 213.2 kB / 1.175 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.8557, allocations: 489.1 kB / 1.176 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00862/0.8643, allocations: 7.181 MB / 1.183 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.8649, allocations: 1.028 MB / 1.184 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006726/0.8656, allocations: 199 kB / 1.184 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.866, allocations: 295.3 kB / 1.184 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.866, allocations: 4 kB / 1.184 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6311/1.497, allocations: 21.87 MB / 1.205 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/1.497, allocations: 277.1 kB / 1.206 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/3.812, allocations: 0 / 1.206 GB, free: 9.336 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches