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.001379/0.001379, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001666/0.001666, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9467/0.9467, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.093/2.093, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.503e-06/1.503e-06, allocations: 0 / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.004e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1221/0.1221, allocations: 145.3 MB / 1.021 GB, free: 4.176 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003597/0.1257, allocations: 2.762 MB / 1.024 GB, free: 1.41 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.1261, allocations: 31.75 kB / 1.024 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.1266, allocations: 186.6 kB / 1.024 GB, free: 1.195 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001191/0.1278, allocations: 0.7498 MB / 1.025 GB, free: 452 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00089/0.1287, allocations: 0.5494 MB / 1.025 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001227/0.13, allocations: 1.54 MB / 1.027 GB, free: 14.35 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.1304, allocations: 388 kB / 1.027 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.1316, allocations: 0.8344 MB / 1.028 GB, free: 13.15 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004756/0.1321, allocations: 442.7 kB / 1.029 GB, free: 12.72 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 6.131e-05/0.1322, allocations: 56 kB / 1.029 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.1327, allocations: 347.1 kB / 1.029 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.1328, allocations: 267.3 kB / 1.029 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.133, allocations: 239.5 kB / 1.029 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007615/0.1338, allocations: 0.7049 MB / 1.03 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1338, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1338, allocations: 0 / 1.03 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.1338, allocations: 0 / 1.03 GB, free: 11.12 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.0009051/0.1347, allocations: 0.9235 MB / 1.031 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1347, allocations: 8.031 kB / 1.031 GB, free: 10.15 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006682/0.1354, allocations: 220.1 kB / 1.031 GB, free: 9.938 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.1359, allocations: 449 kB / 1.032 GB, free: 9.473 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.1359, allocations: 33.12 kB / 1.032 GB, free: 9.441 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.136, allocations: 51.98 kB / 1.032 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.1363, allocations: 0.4995 MB / 1.032 GB, free: 8.82 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1364, allocations: 7.953 kB / 1.032 GB, free: 8.812 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.1364, allocations: 16 kB / 1.032 GB, free: 8.797 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.1364, allocations: 16.94 kB / 1.032 GB, free: 8.781 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.1366, allocations: 142.9 kB / 1.032 GB, free: 8.645 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.001335/0.1379, allocations: 1.104 MB / 1.034 GB, free: 7.496 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.1382, allocations: 167.1 kB / 1.034 GB, free: 7.32 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.891e-05/0.1383, allocations: 76.16 kB / 1.034 GB, free: 7.242 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.691e-05/0.1384, allocations: 27.97 kB / 1.034 GB, free: 7.215 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1384, allocations: 45.33 kB / 1.034 GB, free: 7.16 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.1384, allocations: 0 / 1.034 GB, free: 7.16 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33): time 0.0009034/0.1393, allocations: 0.5509 MB / 1.034 GB, free: 6.574 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.1393, allocations: 55.41 kB / 1.034 GB, free: 6.508 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.1395, allocations: 386.5 kB / 1.035 GB, free: 6.117 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.1396, allocations: 33.7 kB / 1.035 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1397, allocations: 319.2 kB / 1.035 GB, free: 5.762 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.048e-05/0.1398, allocations: 126.9 kB / 1.035 GB, free: 5.637 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.1399, allocations: 75.33 kB / 1.035 GB, free: 5.555 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.14, allocations: 0.5195 MB / 1.036 GB, free: 5.023 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/0.1401, allocations: 35.97 kB / 1.036 GB, free: 4.988 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1402, allocations: 177.1 kB / 1.036 GB, free: 4.773 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.0003455/0.1405, allocations: 300.2 kB / 1.036 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1405, allocations: 0 / 1.036 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000258/0.1408, allocations: 241 kB / 1.037 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1408, allocations: 7.938 kB / 1.037 GB, free: 4.203 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1408, allocations: 0 / 1.037 GB, free: 4.203 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1408, allocations: 8.188 kB / 1.037 GB, free: 4.195 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.141, allocations: 71.84 kB / 1.037 GB, free: 4.125 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.141, allocations: 4 kB / 1.037 GB, free: 4.121 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.1412, allocations: 15.95 kB / 1.037 GB, free: 4.105 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.1412, allocations: 12 kB / 1.037 GB, free: 4.094 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.0001222/0.1413, allocations: 180.4 kB / 1.037 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.1414, allocations: 51.77 kB / 1.037 GB, free: 3.855 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.213e-05/0.1414, allocations: 56.19 kB / 1.037 GB, free: 3.801 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1414, allocations: 4 kB / 1.037 GB, free: 3.797 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.1414, allocations: 0 / 1.037 GB, free: 3.797 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001911/0.1416, allocations: 256.3 kB / 1.037 GB, free: 3.516 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008475/0.1425, allocations: 0.8468 MB / 1.038 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.1425, allocations: 8.062 kB / 1.038 GB, free: 2.562 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1427, allocations: 71.91 kB / 1.038 GB, free: 2.492 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1427, allocations: 7.938 kB / 1.038 GB, free: 2.484 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.1427, allocations: 12 kB / 1.038 GB, free: 2.473 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1427, allocations: 11.92 kB / 1.038 GB, free: 2.461 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1427, allocations: 7.938 kB / 1.038 GB, free: 2.453 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.1431, allocations: 0.5384 MB / 1.039 GB, free: 1.828 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1432, allocations: 79.67 kB / 1.039 GB, free: 1.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.1432, allocations: 16.03 kB / 1.039 GB, free: 1.734 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1434, allocations: 15.94 kB / 1.039 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.1434, allocations: 31.89 kB / 1.039 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.1435, allocations: 23.92 kB / 1.039 GB, free: 1.664 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001146/0.1436, allocations: 243 kB / 1.039 GB, free: 1.426 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1436, allocations: 0 / 1.039 GB, free: 1.426 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000361/0.1439, allocations: 148 kB / 1.039 GB, free: 1.281 MB / 0.9948 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.0002087/0.1442, allocations: 151.1 kB / 1.039 GB, free: 1.121 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.1444, allocations: 163.8 kB / 1.039 GB, free: 0.957 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1444, allocations: 3.938 kB / 1.039 GB, free: 0.9531 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.1445, allocations: 88.77 kB / 1.04 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000784/0.1453, allocations: 292.4 kB / 1.04 GB, free: 0.5859 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1465, allocations: 1.009 MB / 1.041 GB, free: 15.47 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1467, allocations: 149.9 kB / 1.041 GB, free: 15.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002284/0.1469, allocations: 76.14 kB / 1.041 GB, free: 15.23 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.1473, allocations: 294 kB / 1.041 GB, free: 14.94 MB / 1.01 GB Notification: Performance of SimCode: time 8.42e-07/0.1473, allocations: 4 kB / 1.041 GB, free: 14.93 MB / 1.01 GB Notification: Performance of Templates: time 0.01259/0.1599, allocations: 10.5 MB / 1.052 GB, free: 4.688 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.29434530576691]