Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.1.|volMFactor.Xi.1.|vol.T",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002026/0.002026, allocations: 195 kB / 16.14 MB, free: 6.648 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.502/1.502, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.542/2.542, allocations: 437 MB / 0.7099 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.91 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6555/0.6567, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2339/0.8907, allocations: 207.7 MB / 1.219 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01793/0.9087, allocations: 9.959 MB / 1.229 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003753/0.9125, allocations: 55.62 kB / 1.229 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00305/0.9157, allocations: 0.6528 MB / 1.23 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008782/0.9245, allocations: 2.65 MB / 1.232 GB, free: 5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.9286, allocations: 1.258 MB / 1.234 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007097/0.9357, allocations: 5.634 MB / 1.239 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.9381, allocations: 1.121 MB / 1.24 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003241/0.9413, allocations: 1.155 MB / 1.241 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00404/0.9454, allocations: 1.281 MB / 1.243 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006081/0.946, allocations: 72 kB / 1.243 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006386/0.9524, allocations: 2.751 MB / 1.245 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.9538, allocations: 0.5413 MB / 1.246 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.9561, allocations: 0.7775 MB / 1.247 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006838/0.9629, allocations: 3.085 MB / 1.25 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.963, allocations: 0 / 1.25 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.963, allocations: 0 / 1.25 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.742e-05/0.9631, allocations: 0 / 1.25 GB, free: 3.266 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005137/0.9682, allocations: 1.9 MB / 1.252 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.9683, allocations: 8.031 kB / 1.252 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003889/0.9722, allocations: 489.7 kB / 1.252 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5682/1.54, allocations: 1.048 MB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.534e-05/1.541, allocations: 82.5 kB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/1.541, allocations: 120.9 kB / 1.253 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/1.543, allocations: 1.154 MB / 1.254 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.543, allocations: 4.047 kB / 1.254 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.543, allocations: 47.66 kB / 1.254 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.125e-05/1.543, allocations: 39.42 kB / 1.254 GB, free: 234.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002069/1.545, allocations: 1.08 MB / 1.255 GB, free: 234.5 MB / 0.9981 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.00999/1.555, allocations: 4.208 MB / 1.26 GB, free: 232.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/1.557, allocations: 0.7857 MB / 1.26 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007891/1.558, allocations: 481.7 kB / 1.261 GB, free: 231.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/1.558, allocations: 297.3 kB / 1.261 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.558, allocations: 48.81 kB / 1.261 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 3.246e-06/1.558, allocations: 3.781 kB / 1.261 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.006523/1.565, allocations: 2.843 MB / 1.264 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/1.565, allocations: 62.42 kB / 1.264 GB, free: 229.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/1.567, allocations: 0.9732 MB / 1.265 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.344e-05/1.567, allocations: 48.23 kB / 1.265 GB, free: 229.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/1.567, allocations: 0.5398 MB / 1.266 GB, free: 228.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/1.567, allocations: 314.8 kB / 1.266 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/1.568, allocations: 158.3 kB / 1.266 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/1.568, allocations: 342.9 kB / 1.266 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007005/1.569, allocations: 337.9 kB / 1.267 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009064/1.57, allocations: 489.6 kB / 1.267 GB, free: 227.8 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006441/1.576, allocations: 3.036 MB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.576, allocations: 1.125 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001751/1.578, allocations: 1.005 MB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/1.578, allocations: 10.06 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.578, allocations: 3.469 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/1.578, allocations: 11.12 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007839/1.579, allocations: 182.8 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.627e-05/1.579, allocations: 7.594 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.58, allocations: 79.8 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/1.58, allocations: 35.11 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0006152/1.581, allocations: 379.8 kB / 1.272 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/1.581, allocations: 122.9 kB / 1.272 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/1.581, allocations: 148.8 kB / 1.272 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/1.581, allocations: 12.28 kB / 1.272 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.802e-05/1.581, allocations: 7.188 kB / 1.272 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001541/1.583, allocations: 1.094 MB / 1.273 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005151/1.588, allocations: 3.05 MB / 1.276 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.588, allocations: 12.88 kB / 1.276 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/1.589, allocations: 161.9 kB / 1.276 GB, free: 223.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003472/1.589, allocations: 100.1 kB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/1.589, allocations: 29.92 kB / 1.276 GB, free: 223.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/1.591, allocations: 2.879 MB / 1.279 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.591, allocations: 13.69 kB / 1.279 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/1.593, allocations: 1.741 MB / 1.281 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005582/1.594, allocations: 303.7 kB / 1.281 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/1.594, allocations: 37.11 kB / 1.281 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009769/1.595, allocations: 84.23 kB / 1.281 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/1.595, allocations: 84.88 kB / 1.281 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/1.595, allocations: 44.31 kB / 1.281 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000845/1.596, allocations: 0.6984 MB / 1.282 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.596, allocations: 0 / 1.282 GB, free: 219.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001135/1.597, allocations: 380.6 kB / 1.282 GB, free: 219 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004868/1.598, allocations: 244.1 kB / 1.283 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001147/1.599, allocations: 0.8208 MB / 1.283 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.599, allocations: 3.938 kB / 1.283 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000771/1.599, allocations: 0.6745 MB / 1.284 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/1.603, allocations: 0.8882 MB / 1.285 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/1.607, allocations: 3.252 MB / 1.288 GB, free: 215.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/1.607, allocations: 1.247 MB / 1.289 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001213/1.609, allocations: 351.6 kB / 1.29 GB, free: 214.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/1.609, allocations: 95.44 kB / 1.29 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.12e-07/1.609, allocations: 0 / 1.29 GB, free: 214.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03773/1.647, allocations: 27.16 MB / 1.316 GB, free: 187.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches