Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001584/0.001584, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001955/0.001955, allocations: 161 kB / 23.82 MB, free: 0.75 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.9798/0.9798, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.919/1.919, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.764e-05, allocations: 6.312 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.1282/0.1282, allocations: 148.1 MB / 0.9561 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003792/0.132, allocations: 2.794 MB / 0.9589 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.1325, allocations: 31.75 kB / 0.9589 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005156/0.133, allocations: 182.6 kB / 0.9591 GB, free: 10.18 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.1343, allocations: 0.7537 MB / 0.9598 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.1352, allocations: 0.5495 MB / 0.9603 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001448/0.1367, allocations: 1.548 MB / 0.9619 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005446/0.1372, allocations: 394.3 kB / 0.9622 GB, free: 6.934 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.1386, allocations: 0.8286 MB / 0.963 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005605/0.1391, allocations: 438.7 kB / 0.9635 GB, free: 5.691 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.663e-05/0.1392, allocations: 52 kB / 0.9635 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005904/0.1398, allocations: 351 kB / 0.9638 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.14, allocations: 259.3 kB / 0.9641 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002238/0.1402, allocations: 243.4 kB / 0.9643 GB, free: 4.805 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009253/0.1412, allocations: 0.7048 MB / 0.965 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1412, allocations: 0 / 0.965 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1412, allocations: 0 / 0.965 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.1412, allocations: 0 / 0.965 GB, free: 4.098 MB / 0.9167 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.001019/0.1422, allocations: 0.9395 MB / 0.9659 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1422, allocations: 12.03 kB / 0.9659 GB, free: 3.102 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007091/0.1429, allocations: 212.1 kB / 0.9661 GB, free: 2.895 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005258/0.1435, allocations: 465 kB / 0.9666 GB, free: 2.418 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.1435, allocations: 41.11 kB / 0.9666 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.1436, allocations: 52 kB / 0.9667 GB, free: 2.324 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.144, allocations: 0.5229 MB / 0.9672 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1441, allocations: 0 / 0.9672 GB, free: 1.734 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.1441, allocations: 16 kB / 0.9672 GB, free: 1.719 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.1441, allocations: 21 kB / 0.9672 GB, free: 1.699 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.1444, allocations: 185.8 kB / 0.9674 GB, free: 1.516 MB / 0.9167 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.001492/0.1459, allocations: 1.118 MB / 0.9685 GB, free: 368 kB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.1462, allocations: 171.2 kB / 0.9687 GB, free: 184 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1463, allocations: 95.58 kB / 0.9687 GB, free: 84 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.1464, allocations: 16 kB / 0.9688 GB, free: 68 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1464, allocations: 45.38 kB / 0.9688 GB, free: 12 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.1464, allocations: 0 / 0.9688 GB, free: 12 kB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.001173/0.1476, allocations: 0.6661 MB / 0.9695 GB, free: 15.31 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1476, allocations: 59.34 kB / 0.9695 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.1479, allocations: 394.6 kB / 0.9699 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.1479, allocations: 33.7 kB / 0.9699 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.148, allocations: 311.2 kB / 0.9702 GB, free: 14.49 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.182e-05/0.1481, allocations: 123 kB / 0.9703 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.136e-05/0.1482, allocations: 79.3 kB / 0.9704 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1483, allocations: 0.5235 MB / 0.9709 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-05/0.1484, allocations: 43.97 kB / 0.971 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1486, allocations: 185 kB / 0.9711 GB, free: 13.48 MB / 0.9323 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.0004711/0.149, allocations: 339.9 kB / 0.9715 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.149, allocations: 0 / 0.9715 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00032/0.1493, allocations: 269 kB / 0.9717 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1494, allocations: 7.938 kB / 0.9717 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1494, allocations: 4.188 kB / 0.9717 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1494, allocations: 7.984 kB / 0.9717 GB, free: 12.84 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.1496, allocations: 67.92 kB / 0.9718 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.068e-06/0.1496, allocations: 11.92 kB / 0.9718 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.1498, allocations: 11.94 kB / 0.9718 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.1498, allocations: 16 kB / 0.9718 GB, free: 12.73 MB / 0.9323 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.0001346/0.1499, allocations: 177.4 kB / 0.972 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.15, allocations: 55.75 kB / 0.9721 GB, free: 12.49 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.351e-05/0.15, allocations: 52.19 kB / 0.9721 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1501, allocations: 4 kB / 0.9721 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1501, allocations: 4 kB / 0.9721 GB, free: 12.43 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002422/0.1503, allocations: 264.4 kB / 0.9724 GB, free: 12.14 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009749/0.1513, allocations: 0.9466 MB / 0.9733 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1513, allocations: 0 / 0.9733 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/0.1515, allocations: 79.84 kB / 0.9734 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.1515, allocations: 7.984 kB / 0.9734 GB, free: 11 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.1515, allocations: 15.98 kB / 0.9734 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.1515, allocations: 11.88 kB / 0.9734 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1515, allocations: 4 kB / 0.9734 GB, free: 10.97 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004822/0.152, allocations: 0.5654 MB / 0.974 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.1521, allocations: 79.78 kB / 0.974 GB, free: 10.24 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.118e-05/0.1521, allocations: 19.94 kB / 0.9741 GB, free: 10.22 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.1523, allocations: 21.86 kB / 0.9741 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.1524, allocations: 27.91 kB / 0.9741 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.1524, allocations: 27.92 kB / 0.9741 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001541/0.1525, allocations: 255.1 kB / 0.9744 GB, free: 9.898 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1525, allocations: 0 / 0.9744 GB, free: 9.898 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003768/0.1529, allocations: 140 kB / 0.9745 GB, free: 9.762 MB / 0.9323 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.0002326/0.1532, allocations: 147.1 kB / 0.9746 GB, free: 9.605 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.1535, allocations: 187.6 kB / 0.9748 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1535, allocations: 0 / 0.9748 GB, free: 9.418 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1536, allocations: 100.6 kB / 0.9749 GB, free: 9.316 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.1544, allocations: 298.5 kB / 0.9752 GB, free: 9.031 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1557, allocations: 1.012 MB / 0.9762 GB, free: 7.918 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.957e-05/0.1558, allocations: 145.7 kB / 0.9763 GB, free: 7.754 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002722/0.1561, allocations: 112.2 kB / 0.9764 GB, free: 7.645 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.98e-05/0.1561, allocations: 36.5 kB / 0.9765 GB, free: 7.605 MB / 0.9323 GB Notification: Performance of SimCode: time 1.162e-06/0.1561, allocations: 0 / 0.9765 GB, free: 7.605 MB / 0.9323 GB Notification: Performance of Templates: time 0.01207/0.1682, allocations: 10.18 MB / 0.9864 GB, free: 13.69 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.48310498893261]