Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.001292/0.001292, allocations: 93.06 kB / 19.65 MB, free: 280 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.001427/0.001427, allocations: 169 kB / 23.02 MB, free: 1.551 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.9326/0.9326, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.031/2.031, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.965e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.132/0.132, allocations: 148.1 MB / 1.023 GB, free: 1.711 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004574/0.1366, allocations: 2.781 MB / 1.025 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006231/0.1372, allocations: 27.75 kB / 1.026 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.1379, allocations: 190.6 kB / 1.026 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.1394, allocations: 0.7498 MB / 1.026 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.1405, allocations: 0.5573 MB / 1.027 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001526/0.142, allocations: 1.536 MB / 1.028 GB, free: 11.86 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005947/0.1426, allocations: 386.3 kB / 1.029 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.1443, allocations: 0.8276 MB / 1.03 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006331/0.1449, allocations: 442.7 kB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 8.649e-05/0.145, allocations: 52 kB / 1.03 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006181/0.1456, allocations: 351.1 kB / 1.03 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.1458, allocations: 263.3 kB / 1.031 GB, free: 9.578 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.1461, allocations: 247.4 kB / 1.031 GB, free: 9.336 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1471, allocations: 0.6971 MB / 1.032 GB, free: 8.637 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1471, allocations: 3.938 kB / 1.032 GB, free: 8.633 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1471, allocations: 0 / 1.032 GB, free: 8.633 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.1471, allocations: 4 kB / 1.032 GB, free: 8.629 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001139/0.1482, allocations: 0.9236 MB / 1.033 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1483, allocations: 11.97 kB / 1.033 GB, free: 7.656 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000734/0.149, allocations: 220.1 kB / 1.033 GB, free: 7.441 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005558/0.1495, allocations: 461 kB / 1.033 GB, free: 6.965 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1496, allocations: 45.05 kB / 1.033 GB, free: 6.922 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.82e-05/0.1496, allocations: 52 kB / 1.033 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.1501, allocations: 0.5229 MB / 1.034 GB, free: 6.281 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.1501, allocations: 3.953 kB / 1.034 GB, free: 6.277 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.28e-05/0.1502, allocations: 16 kB / 1.034 GB, free: 6.262 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.1502, allocations: 20.98 kB / 1.034 GB, free: 6.242 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.1505, allocations: 173.9 kB / 1.034 GB, free: 6.07 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.0015/0.152, allocations: 1.109 MB / 1.035 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.1523, allocations: 175.2 kB / 1.035 GB, free: 4.738 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.1524, allocations: 96.11 kB / 1.035 GB, free: 4.641 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.1525, allocations: 23.97 kB / 1.035 GB, free: 4.617 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1525, allocations: 41.39 kB / 1.035 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.1525, allocations: 0 / 1.035 GB, free: 4.566 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33): time 0.001153/0.1536, allocations: 0.6553 MB / 1.036 GB, free: 3.875 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.1537, allocations: 51.41 kB / 1.036 GB, free: 3.812 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1539, allocations: 394.6 kB / 1.036 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.154, allocations: 37.7 kB / 1.037 GB, free: 3.367 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.1541, allocations: 311.2 kB / 1.037 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.14e-05/0.1542, allocations: 119 kB / 1.037 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.294e-05/0.1543, allocations: 75.34 kB / 1.037 GB, free: 2.859 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1544, allocations: 0.5196 MB / 1.038 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.1545, allocations: 47.97 kB / 1.038 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1547, allocations: 181.1 kB / 1.038 GB, free: 2.062 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.1551, allocations: 338.2 kB / 1.038 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1551, allocations: 0 / 1.038 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003137/0.1555, allocations: 268.9 kB / 1.038 GB, free: 1.438 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1555, allocations: 11.94 kB / 1.038 GB, free: 1.426 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1555, allocations: 4.172 kB / 1.038 GB, free: 1.422 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1555, allocations: 8 kB / 1.038 GB, free: 1.414 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.1557, allocations: 67.91 kB / 1.038 GB, free: 1.348 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.1557, allocations: 4 kB / 1.038 GB, free: 1.344 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.1559, allocations: 12 kB / 1.038 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.1559, allocations: 12 kB / 1.038 GB, free: 1.32 MB / 0.9948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * 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.0001325/0.156, allocations: 188.4 kB / 1.039 GB, free: 1.125 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.827e-05/0.1561, allocations: 55.7 kB / 1.039 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/0.1561, allocations: 56.19 kB / 1.039 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1561, allocations: 4 kB / 1.039 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1561, allocations: 4 kB / 1.039 GB, free: 1.008 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002309/0.1564, allocations: 269.2 kB / 1.039 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000964/0.1573, allocations: 0.9514 MB / 1.04 GB, free: 15.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1573, allocations: 4 kB / 1.04 GB, free: 15.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.1575, allocations: 71.91 kB / 1.04 GB, free: 15.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.1575, allocations: 11.92 kB / 1.04 GB, free: 15.57 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.1576, allocations: 20 kB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.1576, allocations: 7.938 kB / 1.04 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.1576, allocations: 7.938 kB / 1.04 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000555/0.1581, allocations: 0.5497 MB / 1.041 GB, free: 14.9 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.1582, allocations: 87.73 kB / 1.041 GB, free: 14.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.1583, allocations: 15.94 kB / 1.041 GB, free: 14.8 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.1585, allocations: 17.48 kB / 1.041 GB, free: 14.79 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1585, allocations: 31.84 kB / 1.041 GB, free: 14.75 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.1585, allocations: 23.98 kB / 1.041 GB, free: 14.73 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001492/0.1587, allocations: 255.1 kB / 1.041 GB, free: 14.48 MB / 1.01 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1587, allocations: 0 / 1.041 GB, free: 14.48 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003627/0.159, allocations: 144 kB / 1.041 GB, free: 14.34 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (33): * Single equations (assignments): 33 * 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 Backend phase and start with SimCode phase: time 0.0002229/0.1593, allocations: 143.1 kB / 1.041 GB, free: 14.19 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.1595, allocations: 187.7 kB / 1.041 GB, free: 14 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1596, allocations: 4 kB / 1.041 GB, free: 14 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1597, allocations: 104.7 kB / 1.042 GB, free: 13.89 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007638/0.1604, allocations: 283.5 kB / 1.042 GB, free: 13.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1618, allocations: 1.005 MB / 1.043 GB, free: 12.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.1619, allocations: 146 kB / 1.043 GB, free: 12.34 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000266/0.1622, allocations: 108.1 kB / 1.043 GB, free: 12.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.1622, allocations: 40.5 kB / 1.043 GB, free: 12.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.152e-06/0.1622, allocations: 0 / 1.043 GB, free: 12.2 MB / 1.01 GB Notification: Performance of Templates: time 0.01213/0.1744, allocations: 10.12 MB / 1.053 GB, free: 2.32 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.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.090613655745983]