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.001076/0.001076, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001237/0.001237, allocations: 173 kB / 23.02 MB, free: 1.547 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.9706/0.9706, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.014/2.014, allocations: 429.5 MB / 0.6732 GB, free: 4.059 MB / 0.6355 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 1.843e-06/1.843e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.636e-05, allocations: 5.938 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.1358/0.1358, allocations: 153.7 MB / 1.028 GB, free: 12.13 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.007882/0.1437, allocations: 4.883 MB / 1.033 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.1455, allocations: 79.31 kB / 1.033 GB, free: 7.164 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.1466, allocations: 405 kB / 1.033 GB, free: 6.766 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003007/0.1497, allocations: 1.48 MB / 1.035 GB, free: 5.277 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.1517, allocations: 1.146 MB / 1.036 GB, free: 4.129 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004368/0.1561, allocations: 4.069 MB / 1.04 GB, free: 44 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.1577, allocations: 1.006 MB / 1.041 GB, free: 15.01 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003468/0.1611, allocations: 2.068 MB / 1.043 GB, free: 12.98 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.1625, allocations: 1.149 MB / 1.044 GB, free: 11.83 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.1627, allocations: 148 kB / 1.044 GB, free: 11.68 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008026/0.1635, allocations: 435.1 kB / 1.045 GB, free: 11.26 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004372/0.164, allocations: 0.6622 MB / 1.045 GB, free: 10.59 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005889/0.1646, allocations: 0.6159 MB / 1.046 GB, free: 9.977 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.1661, allocations: 1.507 MB / 1.047 GB, free: 8.465 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.1662, allocations: 4 kB / 1.047 GB, free: 8.461 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.305e-06/0.1662, allocations: 3.938 kB / 1.047 GB, free: 8.457 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.6e-05/0.1662, allocations: 0 / 1.047 GB, free: 8.457 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.001941/0.1681, allocations: 1.83 MB / 1.049 GB, free: 6.582 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1682, allocations: 12.03 kB / 1.049 GB, free: 6.57 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.1698, allocations: 0.5964 MB / 1.05 GB, free: 5.973 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/0.171, allocations: 1.031 MB / 1.051 GB, free: 4.906 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.884e-05/0.171, allocations: 82.27 kB / 1.051 GB, free: 4.824 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.1711, allocations: 120 kB / 1.051 GB, free: 4.707 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.1722, allocations: 1.105 MB / 1.052 GB, free: 3.461 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.1722, allocations: 3.938 kB / 1.052 GB, free: 3.457 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-05/0.1723, allocations: 48 kB / 1.052 GB, free: 3.41 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/0.1723, allocations: 42.12 kB / 1.052 GB, free: 3.367 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000715/0.173, allocations: 464.5 kB / 1.053 GB, free: 2.902 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.003215/0.1763, allocations: 2.568 MB / 1.055 GB, free: 292 kB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.484/0.6603, allocations: 470.2 kB / 1.056 GB, free: 78.77 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004002/0.6607, allocations: 226.1 kB / 1.056 GB, free: 78.76 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.6609, allocations: 30.28 kB / 1.056 GB, free: 78.76 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.6609, allocations: 57.64 kB / 1.056 GB, free: 78.71 MB / 1.01 GB Notification: Performance of pre-optimization done (n=83): time 3.757e-06/0.6609, allocations: 0 / 1.056 GB, free: 78.71 MB / 1.01 GB Notification: Performance of matching and sorting (n=89): time 0.003119/0.6641, allocations: 1.719 MB / 1.058 GB, free: 78.4 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.6641, allocations: 61.47 kB / 1.058 GB, free: 78.34 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.6647, allocations: 0.7215 MB / 1.058 GB, free: 78.14 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.6647, allocations: 47.17 kB / 1.058 GB, free: 78.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.665, allocations: 0.6105 MB / 1.059 GB, free: 77.87 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.6651, allocations: 335 kB / 1.059 GB, free: 77.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.6653, allocations: 161.4 kB / 1.059 GB, free: 77.67 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.6653, allocations: 0.5176 MB / 1.06 GB, free: 77.18 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.6655, allocations: 127 kB / 1.06 GB, free: 77.18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.6658, allocations: 414.5 kB / 1.06 GB, free: 76.89 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.001353/0.6672, allocations: 1.164 MB / 1.062 GB, free: 76.7 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6672, allocations: 0 / 1.062 GB, free: 76.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0006992/0.6679, allocations: 0.6269 MB / 1.062 GB, free: 76.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.6679, allocations: 6.094 kB / 1.062 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6679, allocations: 5.172 kB / 1.062 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.6679, allocations: 9.25 kB / 1.062 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.6683, allocations: 180.7 kB / 1.062 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.6683, allocations: 9.562 kB / 1.062 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.6687, allocations: 26.58 kB / 1.062 GB, free: 76.59 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.6688, allocations: 37.94 kB / 1.062 GB, free: 76.59 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.0002319/0.669, allocations: 212.8 kB / 1.063 GB, free: 76.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.6691, allocations: 143 kB / 1.063 GB, free: 76.37 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.6692, allocations: 126.6 kB / 1.063 GB, free: 76.36 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.6693, allocations: 11.17 kB / 1.063 GB, free: 76.36 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.6693, allocations: 2.531 kB / 1.063 GB, free: 76.36 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006105/0.6699, allocations: 0.7132 MB / 1.064 GB, free: 75.96 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.672, allocations: 2.144 MB / 1.066 GB, free: 75.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.672, allocations: 9.75 kB / 1.066 GB, free: 75.16 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.6724, allocations: 166.2 kB / 1.066 GB, free: 75.16 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002655/0.6726, allocations: 105 kB / 1.066 GB, free: 75.14 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.6727, allocations: 29.88 kB / 1.066 GB, free: 75.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001143/0.6738, allocations: 3.585 MB / 1.07 GB, free: 71.7 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.6738, allocations: 17.59 kB / 1.07 GB, free: 71.7 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.6749, allocations: 1.252 MB / 1.071 GB, free: 70.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.6752, allocations: 210.7 kB / 1.071 GB, free: 70.87 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.989e-05/0.6752, allocations: 35.06 kB / 1.071 GB, free: 70.87 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.6756, allocations: 35.97 kB / 1.071 GB, free: 70.87 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.743e-05/0.6757, allocations: 92.84 kB / 1.071 GB, free: 70.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.526e-05/0.6758, allocations: 49.42 kB / 1.071 GB, free: 70.86 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003148/0.6761, allocations: 460.4 kB / 1.072 GB, free: 70.72 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6761, allocations: 0.9062 kB / 1.072 GB, free: 70.72 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000698/0.6768, allocations: 376.3 kB / 1.072 GB, free: 70.72 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.0002641/0.6771, allocations: 172.2 kB / 1.072 GB, free: 70.64 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006085/0.6777, allocations: 488.1 kB / 1.073 GB, free: 70.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.6777, allocations: 2.594 kB / 1.073 GB, free: 70.61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.6781, allocations: 0.6153 MB / 1.073 GB, free: 70.25 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.6798, allocations: 0.7316 MB / 1.074 GB, free: 70.21 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003516/0.6833, allocations: 2.45 MB / 1.076 GB, free: 68.87 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.6836, allocations: 317.8 kB / 1.077 GB, free: 68.79 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009838/0.6846, allocations: 263.1 kB / 1.077 GB, free: 68.76 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.6849, allocations: 92.73 kB / 1.077 GB, free: 68.75 MB / 1.01 GB Notification: Performance of SimCode: time 2.415e-06/0.6849, allocations: 0.9375 kB / 1.077 GB, free: 68.75 MB / 1.01 GB Notification: Performance of Templates: time 0.03786/0.7227, allocations: 25.92 MB / 1.102 GB, free: 66.1 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.622471932787448]