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.001139/0.001139, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009784/0.0009784, allocations: 173 kB / 23.49 MB, free: 1.059 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.9307/0.9307, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.096/2.096, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.689e-05/1.846e-05, allocations: 5.5 kB / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1515/0.1515, allocations: 167.2 MB / 1.041 GB, free: 14.89 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003838/0.1553, allocations: 3.424 MB / 1.045 GB, free: 11.46 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003242/0.1556, allocations: 27.75 kB / 1.045 GB, free: 11.43 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.1563, allocations: 313.9 kB / 1.045 GB, free: 11.12 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.1579, allocations: 1.08 MB / 1.046 GB, free: 10.04 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.1589, allocations: 0.6933 MB / 1.047 GB, free: 9.344 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.1602, allocations: 1.56 MB / 1.048 GB, free: 7.781 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.1607, allocations: 390.2 kB / 1.049 GB, free: 7.395 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009648/0.1616, allocations: 0.9075 MB / 1.05 GB, free: 6.484 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007129/0.1623, allocations: 447.3 kB / 1.05 GB, free: 6.055 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.271e-05/0.1624, allocations: 59.94 kB / 1.05 GB, free: 5.996 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008099/0.1632, allocations: 0.6971 MB / 1.051 GB, free: 5.297 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.1634, allocations: 267.2 kB / 1.051 GB, free: 5.035 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.1636, allocations: 243.5 kB / 1.051 GB, free: 4.797 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0009139/0.1645, allocations: 0.8685 MB / 1.052 GB, free: 3.926 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1645, allocations: 0 / 1.052 GB, free: 3.926 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1645, allocations: 0 / 1.052 GB, free: 3.926 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.1645, allocations: 0 / 1.052 GB, free: 3.926 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009818/0.1655, allocations: 0.97 MB / 1.053 GB, free: 2.918 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1655, allocations: 8.031 kB / 1.053 GB, free: 2.91 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008063/0.1663, allocations: 231.2 kB / 1.053 GB, free: 2.684 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.1669, allocations: 485.4 kB / 1.054 GB, free: 2.188 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.1669, allocations: 29 kB / 1.054 GB, free: 2.16 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.167, allocations: 55.89 kB / 1.054 GB, free: 2.105 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004702/0.1674, allocations: 0.5597 MB / 1.054 GB, free: 1.473 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1674, allocations: 0 / 1.054 GB, free: 1.473 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.1675, allocations: 16 kB / 1.054 GB, free: 1.457 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.1675, allocations: 13 kB / 1.054 GB, free: 1.445 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.1678, allocations: 181.9 kB / 1.055 GB, free: 1.266 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.001417/0.1692, allocations: 1.124 MB / 1.056 GB, free: 104 kB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4552/0.6244, allocations: 169 kB / 1.056 GB, free: 55.12 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.6246, allocations: 84.84 kB / 1.056 GB, free: 55.11 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.6247, allocations: 28.14 kB / 1.056 GB, free: 55.11 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.6247, allocations: 43.33 kB / 1.056 GB, free: 55.06 MB / 1.01 GB Notification: Performance of pre-optimization done (n=31): time 1.984e-06/0.6248, allocations: 0.8125 kB / 1.056 GB, free: 55.06 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.001279/0.626, allocations: 0.6488 MB / 1.057 GB, free: 54.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.6261, allocations: 56.62 kB / 1.057 GB, free: 54.81 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.6263, allocations: 388.7 kB / 1.057 GB, free: 54.64 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.6263, allocations: 35.45 kB / 1.057 GB, free: 54.61 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.6264, allocations: 315 kB / 1.057 GB, free: 54.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/0.6265, allocations: 118.6 kB / 1.058 GB, free: 54.37 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/0.6266, allocations: 77.03 kB / 1.058 GB, free: 54.35 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.265e-05/0.6267, allocations: 0.5259 MB / 1.058 GB, free: 53.86 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.6267, allocations: 47.94 kB / 1.058 GB, free: 53.86 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.6269, allocations: 183.1 kB / 1.058 GB, free: 53.71 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) Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.6273, allocations: 336.5 kB / 1.059 GB, free: 53.62 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6273, allocations: 0.7812 kB / 1.059 GB, free: 53.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003053/0.6276, allocations: 268.5 kB / 1.059 GB, free: 53.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6276, allocations: 5.938 kB / 1.059 GB, free: 53.57 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6276, allocations: 2.875 kB / 1.059 GB, free: 53.57 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6277, allocations: 4.656 kB / 1.059 GB, free: 53.57 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.6278, allocations: 68.16 kB / 1.059 GB, free: 53.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.6278, allocations: 5.125 kB / 1.059 GB, free: 53.57 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.628, allocations: 17.53 kB / 1.059 GB, free: 53.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.628, allocations: 12.38 kB / 1.059 GB, free: 53.57 MB / 1.01 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.0001212/0.6282, allocations: 179.3 kB / 1.059 GB, free: 53.41 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.6282, allocations: 56.61 kB / 1.059 GB, free: 53.39 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.6283, allocations: 52.56 kB / 1.059 GB, free: 53.39 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6283, allocations: 3.969 kB / 1.059 GB, free: 53.39 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6283, allocations: 3.938 kB / 1.059 GB, free: 53.38 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002054/0.6285, allocations: 272.2 kB / 1.06 GB, free: 53.22 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008569/0.6293, allocations: 0.9516 MB / 1.06 GB, free: 52.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6293, allocations: 3.188 kB / 1.06 GB, free: 52.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.6295, allocations: 73 kB / 1.061 GB, free: 52.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6295, allocations: 6 kB / 1.061 GB, free: 52.73 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.6296, allocations: 13.41 kB / 1.061 GB, free: 52.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6296, allocations: 9.5 kB / 1.061 GB, free: 52.73 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6296, allocations: 8.469 kB / 1.061 GB, free: 52.73 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004051/0.63, allocations: 0.5557 MB / 1.061 GB, free: 52.32 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.6301, allocations: 79.95 kB / 1.061 GB, free: 52.3 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.6301, allocations: 13.31 kB / 1.061 GB, free: 52.3 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.6303, allocations: 17.16 kB / 1.061 GB, free: 52.3 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.6303, allocations: 32.66 kB / 1.061 GB, free: 52.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.6304, allocations: 21.23 kB / 1.061 GB, free: 52.3 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001248/0.6305, allocations: 261.5 kB / 1.062 GB, free: 52.18 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6305, allocations: 0 / 1.062 GB, free: 52.18 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003706/0.6308, allocations: 143 kB / 1.062 GB, free: 52.18 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.0002142/0.6311, allocations: 162.2 kB / 1.062 GB, free: 52.09 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002789/0.6313, allocations: 187.3 kB / 1.062 GB, free: 52.07 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6313, allocations: 3 kB / 1.062 GB, free: 52.07 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.6314, allocations: 105.1 kB / 1.062 GB, free: 52.06 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007802/0.6322, allocations: 293.4 kB / 1.062 GB, free: 52.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.6334, allocations: 1.001 MB / 1.063 GB, free: 51.46 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.959e-05/0.6335, allocations: 144.2 kB / 1.064 GB, free: 51.39 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002607/0.6338, allocations: 108.5 kB / 1.064 GB, free: 51.38 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.798e-05/0.6339, allocations: 37.69 kB / 1.064 GB, free: 51.38 MB / 1.01 GB Notification: Performance of SimCode: time 8.92e-07/0.6339, allocations: 1.438 kB / 1.064 GB, free: 51.38 MB / 1.01 GB Notification: Performance of Templates: time 0.01048/0.6443, allocations: 9.653 MB / 1.073 GB, free: 50.68 MB / 1.01 GB " [Timeout remaining time 299] 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: 5.978467495879158]