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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001511/0.00151, allocations: 100.1 kB / 15.88 MB, free: 8 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002252/0.002252, allocations: 197.8 kB / 16.79 MB, free: 6.828 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.428/1.428, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.695/2.695, allocations: 437 MB / 0.7106 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 68.05 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.6567, allocations: 151.6 MB / 1.017 GB, free: 3.074 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.2295/0.8862, allocations: 207.7 MB / 1.22 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01565/0.9019, allocations: 9.951 MB / 1.23 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.9045, allocations: 55.62 kB / 1.23 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002537/0.9071, allocations: 0.6645 MB / 1.23 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007623/0.9147, allocations: 2.642 MB / 1.233 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003855/0.9186, allocations: 1.256 MB / 1.234 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007111/0.9257, allocations: 5.627 MB / 1.24 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.928, allocations: 1.133 MB / 1.241 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.9308, allocations: 1.159 MB / 1.242 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.9343, allocations: 1.269 MB / 1.243 GB, free: 10.81 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004957/0.9348, allocations: 75.94 kB / 1.243 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006006/0.9408, allocations: 2.755 MB / 1.246 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.9419, allocations: 0.5413 MB / 1.247 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00203/0.9439, allocations: 0.7736 MB / 1.247 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.9479, allocations: 2.238 MB / 1.25 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.948, allocations: 4 kB / 1.25 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.286e-06/0.948, allocations: 0 / 1.25 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.215e-05/0.9481, allocations: 3.938 kB / 1.25 GB, free: 4.402 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.004516/0.9526, allocations: 1.889 MB / 1.251 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.9527, allocations: 16.03 kB / 1.251 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.9563, allocations: 489.7 kB / 1.252 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/0.9586, allocations: 1.069 MB / 1.253 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.308e-05/0.9586, allocations: 78.14 kB / 1.253 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002786/0.9589, allocations: 112 kB / 1.253 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6078/1.567, allocations: 1.152 MB / 1.254 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/1.567, allocations: 3.75 kB / 1.254 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.567, allocations: 43.7 kB / 1.254 GB, free: 235.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.417e-05/1.567, allocations: 44.69 kB / 1.254 GB, free: 235.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/1.569, allocations: 1.07 MB / 1.255 GB, free: 235.1 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.007466/1.577, allocations: 4.217 MB / 1.259 GB, free: 232.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/1.578, allocations: 0.7842 MB / 1.26 GB, free: 232.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009096/1.579, allocations: 481 kB / 1.261 GB, free: 232.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004376/1.58, allocations: 292.9 kB / 1.261 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/1.58, allocations: 53.16 kB / 1.261 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=83): time 3.196e-06/1.58, allocations: 0 / 1.261 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=89): time 0.007108/1.587, allocations: 2.845 MB / 1.264 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.587, allocations: 60.98 kB / 1.264 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/1.589, allocations: 0.977 MB / 1.265 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/1.589, allocations: 47.58 kB / 1.265 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004994/1.589, allocations: 0.5435 MB / 1.265 GB, free: 229.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/1.59, allocations: 312.5 kB / 1.266 GB, free: 229.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/1.59, allocations: 153.9 kB / 1.266 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001039/1.59, allocations: 340.7 kB / 1.266 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007498/1.591, allocations: 338.7 kB / 1.266 GB, free: 228.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008725/1.592, allocations: 486 kB / 1.267 GB, free: 228.4 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.006753/1.598, allocations: 3.049 MB / 1.27 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/1.598, allocations: 1.344 kB / 1.27 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00179/1.6, allocations: 1.01 MB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/1.6, allocations: 9.656 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.6, allocations: 3.406 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/1.6, allocations: 7.531 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007702/1.601, allocations: 178.5 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/1.601, allocations: 8.797 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/1.602, allocations: 80.33 kB / 1.271 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/1.602, allocations: 33.83 kB / 1.271 GB, free: 226.7 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.0007065/1.603, allocations: 378.5 kB / 1.272 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/1.603, allocations: 126.8 kB / 1.272 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002422/1.604, allocations: 147.5 kB / 1.272 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/1.604, allocations: 12.66 kB / 1.272 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/1.604, allocations: 1.812 kB / 1.272 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001495/1.605, allocations: 1.091 MB / 1.273 GB, free: 225.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00506/1.61, allocations: 3.052 MB / 1.276 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/1.61, allocations: 8.219 kB / 1.276 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/1.611, allocations: 165.8 kB / 1.276 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/1.612, allocations: 96.66 kB / 1.276 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/1.612, allocations: 33.89 kB / 1.276 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/1.613, allocations: 2.878 MB / 1.279 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/1.613, allocations: 13.06 kB / 1.279 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/1.616, allocations: 1.737 MB / 1.281 GB, free: 220.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/1.617, allocations: 306.6 kB / 1.281 GB, free: 220 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/1.617, allocations: 34.69 kB / 1.281 GB, free: 220 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009997/1.618, allocations: 75.81 kB / 1.281 GB, free: 220 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/1.618, allocations: 91.59 kB / 1.281 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.404e-05/1.618, allocations: 45.41 kB / 1.281 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001026/1.619, allocations: 0.698 MB / 1.282 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.619, allocations: 5.281 kB / 1.282 GB, free: 219.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001351/1.621, allocations: 375 kB / 1.282 GB, free: 219.6 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.0005396/1.621, allocations: 254.1 kB / 1.282 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001317/1.622, allocations: 0.8201 MB / 1.283 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.622, allocations: 10.66 kB / 1.283 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008069/1.623, allocations: 0.6628 MB / 1.284 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003939/1.627, allocations: 0.8947 MB / 1.285 GB, free: 218.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/1.631, allocations: 3.317 MB / 1.288 GB, free: 216.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008428/1.632, allocations: 1.245 MB / 1.289 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/1.633, allocations: 107.2 kB / 1.289 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.683e-06/1.633, allocations: 0 / 1.289 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03318/1.666, allocations: 27.1 MB / 1.316 GB, free: 188.9 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches