Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001403/0.001403, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001643/0.001643, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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.9594/0.9594, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.39/2.39, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.828e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1327/0.1327, allocations: 150.8 MB / 1.037 GB, free: 2.336 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008207/0.1409, allocations: 4.864 MB / 1.042 GB, free: 13.47 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.1428, allocations: 83.31 kB / 1.042 GB, free: 13.39 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.144, allocations: 400.9 kB / 1.042 GB, free: 12.99 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.1476, allocations: 1.488 MB / 1.044 GB, free: 11.5 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002391/0.15, allocations: 1.134 MB / 1.045 GB, free: 10.36 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.004741/0.1547, allocations: 4.069 MB / 1.049 GB, free: 6.273 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.1563, allocations: 1.01 MB / 1.05 GB, free: 5.234 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004188/0.1605, allocations: 2.052 MB / 1.052 GB, free: 3.23 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.1622, allocations: 1.153 MB / 1.053 GB, free: 2.074 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003292/0.1625, allocations: 144 kB / 1.053 GB, free: 1.934 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.1636, allocations: 447.1 kB / 1.053 GB, free: 1.496 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006075/0.1642, allocations: 0.6622 MB / 1.054 GB, free: 0.832 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009475/0.1652, allocations: 0.612 MB / 1.055 GB, free: 224 kB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.426/0.5912, allocations: 1.507 MB / 1.056 GB, free: 53.52 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5912, allocations: 0 / 1.056 GB, free: 53.52 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5912, allocations: 0 / 1.056 GB, free: 53.52 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.225e-05/0.5912, allocations: 0 / 1.056 GB, free: 53.52 MB / 1.01 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.001949/0.5932, allocations: 1.826 MB / 1.058 GB, free: 52.61 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5932, allocations: 9.969 kB / 1.058 GB, free: 52.61 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.5948, allocations: 0.5958 MB / 1.059 GB, free: 52.47 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5961, allocations: 1.004 MB / 1.06 GB, free: 52.16 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.105e-05/0.5961, allocations: 81.55 kB / 1.06 GB, free: 52.16 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.5962, allocations: 117.8 kB / 1.06 GB, free: 52.16 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008259/0.5971, allocations: 1.032 MB / 1.061 GB, free: 51.51 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.5971, allocations: 7.484 kB / 1.061 GB, free: 51.51 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.5972, allocations: 50.47 kB / 1.061 GB, free: 51.51 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.5972, allocations: 40.89 kB / 1.061 GB, free: 51.5 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004722/0.5977, allocations: 370.8 kB / 1.061 GB, free: 51.46 MB / 1.01 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.003447/0.6011, allocations: 2.557 MB / 1.064 GB, free: 50.96 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.6016, allocations: 444.2 kB / 1.064 GB, free: 50.91 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.6018, allocations: 192.8 kB / 1.064 GB, free: 50.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.6019, allocations: 45.47 kB / 1.064 GB, free: 50.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.6019, allocations: 48.05 kB / 1.064 GB, free: 50.86 MB / 1.01 GB Notification: Performance of pre-optimization done (n=83): time 3.227e-06/0.602, allocations: 1.094 kB / 1.064 GB, free: 50.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=89): time 0.002509/0.6045, allocations: 1.429 MB / 1.066 GB, free: 50.46 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.6045, allocations: 61.25 kB / 1.066 GB, free: 50.4 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.605, allocations: 0.7131 MB / 1.067 GB, free: 50.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/0.6051, allocations: 49.69 kB / 1.067 GB, free: 50.17 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.6053, allocations: 0.6182 MB / 1.067 GB, free: 49.87 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001787/0.6055, allocations: 333.6 kB / 1.067 GB, free: 49.66 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.6056, allocations: 166 kB / 1.068 GB, free: 49.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.6057, allocations: 0.5172 MB / 1.068 GB, free: 49.15 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.6058, allocations: 96.06 kB / 1.068 GB, free: 49.14 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.606, allocations: 381.1 kB / 1.069 GB, free: 48.86 MB / 1.01 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.0009664/0.607, allocations: 0.9928 MB / 1.07 GB, free: 48.66 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.607, allocations: 0 / 1.07 GB, free: 48.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006482/0.6076, allocations: 0.5709 MB / 1.07 GB, free: 48.55 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.6077, allocations: 5.625 kB / 1.07 GB, free: 48.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.6077, allocations: 3.75 kB / 1.07 GB, free: 48.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.6077, allocations: 7.812 kB / 1.07 GB, free: 48.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/0.6081, allocations: 182.2 kB / 1.07 GB, free: 48.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.6081, allocations: 12.22 kB / 1.07 GB, free: 48.55 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.6086, allocations: 25.33 kB / 1.07 GB, free: 48.54 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.6086, allocations: 26.84 kB / 1.07 GB, free: 48.54 MB / 1.01 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.0002786/0.6089, allocations: 210.6 kB / 1.071 GB, free: 48.38 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.609, allocations: 143.6 kB / 1.071 GB, free: 48.32 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.6091, allocations: 127.6 kB / 1.071 GB, free: 48.31 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.6091, allocations: 11.41 kB / 1.071 GB, free: 48.31 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/0.6092, allocations: 2.938 kB / 1.071 GB, free: 48.31 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005121/0.6097, allocations: 0.6575 MB / 1.071 GB, free: 47.91 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.6118, allocations: 1.913 MB / 1.073 GB, free: 47.13 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6118, allocations: 8.656 kB / 1.073 GB, free: 47.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/0.6121, allocations: 161.6 kB / 1.074 GB, free: 47.13 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.6124, allocations: 102.4 kB / 1.074 GB, free: 47.11 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.6124, allocations: 34.2 kB / 1.074 GB, free: 47.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.6135, allocations: 3.547 MB / 1.077 GB, free: 43.71 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.6135, allocations: 18.16 kB / 1.077 GB, free: 43.71 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.6146, allocations: 1.187 MB / 1.078 GB, free: 42.94 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.615, allocations: 195.7 kB / 1.078 GB, free: 42.88 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-05/0.6151, allocations: 32.34 kB / 1.079 GB, free: 42.88 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/0.6155, allocations: 35.89 kB / 1.079 GB, free: 42.88 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.6156, allocations: 89.91 kB / 1.079 GB, free: 42.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/0.6156, allocations: 42.48 kB / 1.079 GB, free: 42.88 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000257/0.6159, allocations: 437.3 kB / 1.079 GB, free: 42.74 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6159, allocations: 0.8125 kB / 1.079 GB, free: 42.74 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008578/0.6167, allocations: 375.8 kB / 1.079 GB, free: 42.73 MB / 1.01 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.0002782/0.617, allocations: 176 kB / 1.08 GB, free: 42.64 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005642/0.6176, allocations: 427.4 kB / 1.08 GB, free: 42.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.6176, allocations: 6.781 kB / 1.08 GB, free: 42.61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.618, allocations: 0.5987 MB / 1.081 GB, free: 42.26 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/0.6199, allocations: 0.7365 MB / 1.081 GB, free: 42.21 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.6227, allocations: 2.445 MB / 1.084 GB, free: 40.86 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.6229, allocations: 315.7 kB / 1.084 GB, free: 40.77 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007461/0.6237, allocations: 193.6 kB / 1.084 GB, free: 40.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.6247, allocations: 0.5912 MB / 1.085 GB, free: 40.66 MB / 1.01 GB Notification: Performance of SimCode: time 2.064e-06/0.6247, allocations: 1.156 kB / 1.085 GB, free: 40.66 MB / 1.01 GB Notification: Performance of Templates: time 0.03742/0.6621, allocations: 26.54 MB / 1.111 GB, free: 38.05 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.565541465766728]