Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009391/0.0009391, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9578/0.9578, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.884/1.884, allocations: 377.8 MB / 0.6239 GB, free: 8.578 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.[0-9,]+.|volMFactor.Xi.[0-9,]+.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volMFactor.T|vol1.T|vol1.Xi.[0-9,]+.|volMFactor.Xi.[0-9,]+.|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.295e-05, allocations: 5.781 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1755/0.1755, allocations: 207.6 MB / 1.014 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0118/0.1873, allocations: 10.13 MB / 1.024 GB, free: 7.621 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.1888, allocations: 83.31 kB / 1.024 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.1903, allocations: 0.7529 MB / 1.025 GB, free: 6.781 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.005657/0.196, allocations: 2.997 MB / 1.028 GB, free: 3.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.1986, allocations: 1.465 MB / 1.029 GB, free: 2.301 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.003944/0.2026, allocations: 4.192 MB / 1.033 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.2037, allocations: 1.029 MB / 1.034 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.2067, allocations: 2.341 MB / 1.037 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.2082, allocations: 1.186 MB / 1.038 GB, free: 9.527 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.2083, allocations: 144 kB / 1.038 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.2115, allocations: 1.982 MB / 1.04 GB, free: 7.398 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004583/0.2119, allocations: 0.6739 MB / 1.041 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005588/0.2125, allocations: 0.6159 MB / 1.041 GB, free: 6.105 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.2148, allocations: 2.29 MB / 1.043 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2149, allocations: 0 / 1.043 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2149, allocations: 0 / 1.043 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.2149, allocations: 0 / 1.043 GB, free: 3.809 MB / 0.9948 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.001928/0.2168, allocations: 1.973 MB / 1.045 GB, free: 1.789 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2168, allocations: 8.031 kB / 1.045 GB, free: 1.781 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.2187, allocations: 0.6345 MB / 1.046 GB, free: 1.145 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.2199, allocations: 1.083 MB / 1.047 GB, free: 20 kB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3661/0.5859, allocations: 77.72 kB / 1.047 GB, free: 280.9 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002842/0.5862, allocations: 123.2 kB / 1.047 GB, free: 280.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.5876, allocations: 1.136 MB / 1.048 GB, free: 280.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.5876, allocations: 1.312 kB / 1.048 GB, free: 280.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.5877, allocations: 48.45 kB / 1.048 GB, free: 280.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.945e-05/0.5878, allocations: 43.88 kB / 1.048 GB, free: 280.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.5887, allocations: 464 kB / 1.049 GB, free: 280.2 MB / 0.9948 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.003354/0.5921, allocations: 2.563 MB / 1.051 GB, free: 279.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005592/0.5926, allocations: 475.2 kB / 1.052 GB, free: 279 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.5929, allocations: 221.7 kB / 1.052 GB, free: 278.9 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.5931, allocations: 69.73 kB / 1.052 GB, free: 278.9 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5931, allocations: 51.59 kB / 1.052 GB, free: 278.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=83): time 2.455e-06/0.5931, allocations: 1.062 kB / 1.052 GB, free: 278.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=89): time 0.002657/0.5957, allocations: 1.717 MB / 1.054 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.5958, allocations: 65.84 kB / 1.054 GB, free: 278.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.5963, allocations: 0.7206 MB / 1.055 GB, free: 277.7 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.5963, allocations: 49.52 kB / 1.055 GB, free: 277.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.5965, allocations: 0.6176 MB / 1.055 GB, free: 277.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.5967, allocations: 331 kB / 1.056 GB, free: 277 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.5968, allocations: 164.6 kB / 1.056 GB, free: 276.9 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.5969, allocations: 0.5123 MB / 1.056 GB, free: 276.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.5971, allocations: 130.7 kB / 1.056 GB, free: 276.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.5974, allocations: 412.6 kB / 1.057 GB, free: 276 MB / 0.9948 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.001432/0.5988, allocations: 1.16 MB / 1.058 GB, free: 275.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.5988, allocations: 2.875 kB / 1.058 GB, free: 275.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006917/0.5995, allocations: 0.6224 MB / 1.059 GB, free: 275.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.5995, allocations: 5.094 kB / 1.059 GB, free: 275.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5995, allocations: 4 kB / 1.059 GB, free: 275.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.5995, allocations: 9.094 kB / 1.059 GB, free: 275.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.5999, allocations: 182.2 kB / 1.059 GB, free: 275.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6, allocations: 9.625 kB / 1.059 GB, free: 275.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.6003, allocations: 34.27 kB / 1.059 GB, free: 275.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/0.6004, allocations: 32.34 kB / 1.059 GB, free: 275.4 MB / 0.9948 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.0001991/0.6006, allocations: 219.6 kB / 1.059 GB, free: 275.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.6007, allocations: 139.8 kB / 1.059 GB, free: 275.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.6008, allocations: 130.5 kB / 1.059 GB, free: 275 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6008, allocations: 9.406 kB / 1.059 GB, free: 275 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.6008, allocations: 0 / 1.059 GB, free: 275 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000619/0.6015, allocations: 0.7191 MB / 1.06 GB, free: 274.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.6035, allocations: 2.144 MB / 1.062 GB, free: 273.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.6035, allocations: 11.3 kB / 1.062 GB, free: 273.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.6039, allocations: 159.2 kB / 1.062 GB, free: 273.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.6041, allocations: 103.4 kB / 1.062 GB, free: 273.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.648e-05/0.6042, allocations: 28.16 kB / 1.062 GB, free: 273.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.6052, allocations: 3.599 MB / 1.066 GB, free: 269.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.6052, allocations: 19.28 kB / 1.066 GB, free: 269.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000997/0.6062, allocations: 1.243 MB / 1.067 GB, free: 268.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002427/0.6064, allocations: 204.8 kB / 1.067 GB, free: 268.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.585e-05/0.6065, allocations: 35.41 kB / 1.067 GB, free: 268.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004035/0.6069, allocations: 39.83 kB / 1.067 GB, free: 268.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.373e-05/0.607, allocations: 87.8 kB / 1.067 GB, free: 268.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.6071, allocations: 47.45 kB / 1.067 GB, free: 268.5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003061/0.6074, allocations: 469.9 kB / 1.068 GB, free: 268.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6074, allocations: 0 / 1.068 GB, free: 268.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006934/0.6081, allocations: 381.4 kB / 1.068 GB, free: 268.3 MB / 0.9948 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.000288/0.6084, allocations: 227.5 kB / 1.069 GB, free: 268.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005955/0.6089, allocations: 483.3 kB / 1.069 GB, free: 268 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6089, allocations: 3.406 kB / 1.069 GB, free: 268 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.6094, allocations: 0.6208 MB / 1.07 GB, free: 267.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.6111, allocations: 0.7623 MB / 1.07 GB, free: 267.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.6134, allocations: 2.462 MB / 1.073 GB, free: 265.9 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.6136, allocations: 315.2 kB / 1.073 GB, free: 265.8 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005467/0.6142, allocations: 262.7 kB / 1.073 GB, free: 265.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.6143, allocations: 88.12 kB / 1.073 GB, free: 265.7 MB / 0.9948 GB Notification: Performance of SimCode: time 8.31e-07/0.6143, allocations: 4 kB / 1.073 GB, free: 265.7 MB / 0.9948 GB Notification: Performance of Templates: time 0.02953/0.6439, allocations: 25.26 MB / 1.098 GB, free: 260.6 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.337040912127122]