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.001337/0.001337, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001401/0.001401, allocations: 173 kB / 23.36 MB, free: 1.133 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 1/1, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.516/2.516, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.503e-06/1.503e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.928e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1341/0.1341, allocations: 147.5 MB / 0.9826 GB, free: 10.09 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00426/0.1384, allocations: 2.825 MB / 0.9854 GB, free: 7.262 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/0.1388, allocations: 35.69 kB / 0.9854 GB, free: 7.227 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.1393, allocations: 174.7 kB / 0.9856 GB, free: 7.055 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.1405, allocations: 0.7459 MB / 0.9863 GB, free: 6.305 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.1414, allocations: 0.5494 MB / 0.9869 GB, free: 5.754 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001311/0.1427, allocations: 1.529 MB / 0.9884 GB, free: 4.223 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008379/0.1436, allocations: 408 kB / 0.9887 GB, free: 3.82 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.1449, allocations: 0.8283 MB / 0.9895 GB, free: 3.016 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006548/0.1456, allocations: 418.8 kB / 0.9899 GB, free: 2.605 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 8.433e-05/0.1457, allocations: 52 kB / 0.99 GB, free: 2.555 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007276/0.1464, allocations: 359.1 kB / 0.9903 GB, free: 2.203 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.1466, allocations: 259.3 kB / 0.9906 GB, free: 1.949 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.1469, allocations: 243.5 kB / 0.9908 GB, free: 1.711 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009908/0.1479, allocations: 0.7009 MB / 0.9915 GB, free: 1.008 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1479, allocations: 0 / 0.9915 GB, free: 1.008 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1479, allocations: 0 / 0.9915 GB, free: 1.008 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.106e-06/0.1479, allocations: 0 / 0.9915 GB, free: 1.008 MB / 0.948 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.001092/0.149, allocations: 0.7793 MB / 0.9923 GB, free: 208 kB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.149, allocations: 12.62 kB / 0.9923 GB, free: 196 kB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009754/0.15, allocations: 216.4 kB / 0.9925 GB, free: 15.98 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006682/0.1506, allocations: 386.5 kB / 0.9929 GB, free: 15.57 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.1507, allocations: 45.06 kB / 0.9929 GB, free: 15.53 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.161e-05/0.1508, allocations: 51.95 kB / 0.9929 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.1512, allocations: 0.5139 MB / 0.9934 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1512, allocations: 0 / 0.9934 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.1513, allocations: 23.94 kB / 0.9935 GB, free: 14.88 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.1513, allocations: 17 kB / 0.9935 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.1516, allocations: 122.9 kB / 0.9936 GB, free: 14.74 MB / 0.9636 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.00149/0.1531, allocations: 0.8926 MB / 0.9945 GB, free: 13.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004072/0.1535, allocations: 206.8 kB / 0.9947 GB, free: 13.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.1536, allocations: 77.31 kB / 0.9947 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.089e-05/0.1537, allocations: 23.98 kB / 0.9948 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1537, allocations: 38.56 kB / 0.9948 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=31): time 1.804e-06/0.1537, allocations: 0 / 0.9948 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.001064/0.1547, allocations: 0.5092 MB / 0.9953 GB, free: 12.91 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1548, allocations: 59.39 kB / 0.9954 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.155, allocations: 307.4 kB / 0.9957 GB, free: 12.53 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.155, allocations: 29.7 kB / 0.9957 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1552, allocations: 225.4 kB / 0.9959 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.1552, allocations: 122.9 kB / 0.996 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.1553, allocations: 69.61 kB / 0.9961 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.1555, allocations: 354.7 kB / 0.9964 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.278e-05/0.1555, allocations: 34.81 kB / 0.9965 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1557, allocations: 141.4 kB / 0.9966 GB, free: 11.51 MB / 0.9636 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.0004096/0.1561, allocations: 278.8 kB / 0.9969 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1561, allocations: 0 / 0.9969 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002803/0.1564, allocations: 189.4 kB / 0.997 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1564, allocations: 8 kB / 0.997 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1564, allocations: 3.938 kB / 0.997 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1564, allocations: 4 kB / 0.997 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.1566, allocations: 75.91 kB / 0.9971 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1566, allocations: 0 / 0.9971 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.1568, allocations: 8 kB / 0.9971 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.674e-05/0.1569, allocations: 15.98 kB / 0.9971 GB, free: 10.91 MB / 0.9636 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.0001357/0.157, allocations: 132.5 kB / 0.9973 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.1571, allocations: 43.98 kB / 0.9973 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.9e-05/0.1572, allocations: 64.19 kB / 0.9974 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1572, allocations: 4 kB / 0.9974 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1572, allocations: 0 / 0.9974 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002084/0.1574, allocations: 220.3 kB / 0.9976 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.1587, allocations: 0.7567 MB / 0.9983 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1587, allocations: 4 kB / 0.9983 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.159, allocations: 94.66 kB / 0.9984 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.159, allocations: 4 kB / 0.9984 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.1591, allocations: 12 kB / 0.9984 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.1591, allocations: 7.984 kB / 0.9984 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/0.1591, allocations: 12.22 kB / 0.9985 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.1595, allocations: 495.1 kB / 0.9989 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1597, allocations: 59.73 kB / 0.999 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.1597, allocations: 15.98 kB / 0.999 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.1599, allocations: 19.94 kB / 0.999 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.16, allocations: 31.89 kB / 0.999 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.16, allocations: 8 kB / 0.9991 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000136/0.1602, allocations: 136.6 kB / 0.9992 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.1602, allocations: 4.031 kB / 0.9992 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0004781/0.1606, allocations: 147.9 kB / 0.9993 GB, free: 8.453 MB / 0.9636 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.0002322/0.1609, allocations: 116.2 kB / 0.9994 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.1612, allocations: 165.2 kB / 0.9996 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.1612, allocations: 8 kB / 0.9996 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1613, allocations: 88.62 kB / 0.9997 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009794/0.1623, allocations: 297.5 kB / 1 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.1637, allocations: 0.9349 MB / 1.001 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.1638, allocations: 142 kB / 1.001 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002889/0.1641, allocations: 80.14 kB / 1.001 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/0.1647, allocations: 255 kB / 1.001 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of SimCode: time 1.273e-06/0.1647, allocations: 0 / 1.001 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of Templates: time 0.01578/0.1805, allocations: 10.36 MB / 1.011 GB, free: 12.18 MB / 0.9792 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 -s gbode -gbm=radauIIA3 -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.661432254128158]