Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.0009469/0.0009469, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001014/0.001014, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9403/0.9403, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.492/2.492, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.[0-9,]+..m_flow|C_flow.y|volDyn.C.[0-9,]+.|volSte.C.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.218e-05, allocations: 6.25 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1338/0.1339, allocations: 148.1 MB / 1.034 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00651/0.1404, allocations: 3.804 MB / 1.038 GB, free: 1.348 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.1417, allocations: 55.5 kB / 1.038 GB, free: 1.293 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008462/0.1425, allocations: 273.9 kB / 1.038 GB, free: 1.023 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002472/0.145, allocations: 1.065 MB / 1.039 GB, free: 15.95 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/0.1473, allocations: 0.9819 MB / 1.04 GB, free: 14.96 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003437/0.1507, allocations: 2.507 MB / 1.043 GB, free: 12.45 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.1524, allocations: 0.7358 MB / 1.044 GB, free: 11.69 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005153/0.1576, allocations: 1.378 MB / 1.045 GB, free: 10.35 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.1597, allocations: 0.7517 MB / 1.046 GB, free: 9.594 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.16, allocations: 100 kB / 1.046 GB, free: 9.496 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.1616, allocations: 0.6314 MB / 1.046 GB, free: 8.863 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006818/0.1623, allocations: 0.526 MB / 1.047 GB, free: 8.336 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008775/0.1632, allocations: 451 kB / 1.047 GB, free: 7.895 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00274/0.1659, allocations: 1.336 MB / 1.049 GB, free: 6.555 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.166, allocations: 0 / 1.049 GB, free: 6.555 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.443e-06/0.166, allocations: 0 / 1.049 GB, free: 6.555 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.037e-05/0.166, allocations: 0 / 1.049 GB, free: 6.555 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001819/0.1678, allocations: 1.483 MB / 1.05 GB, free: 5.031 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.1679, allocations: 12.62 kB / 1.05 GB, free: 5.02 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.169, allocations: 403.5 kB / 1.05 GB, free: 4.625 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.1701, allocations: 0.7064 MB / 1.051 GB, free: 3.891 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.1701, allocations: 66.11 kB / 1.051 GB, free: 3.824 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.534e-05/0.1702, allocations: 96 kB / 1.051 GB, free: 3.73 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009825/0.1712, allocations: 1.093 MB / 1.052 GB, free: 2.484 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.1712, allocations: 3.938 kB / 1.052 GB, free: 2.48 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.1713, allocations: 36 kB / 1.052 GB, free: 2.445 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/0.1713, allocations: 37.98 kB / 1.052 GB, free: 2.406 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.1718, allocations: 289.6 kB / 1.053 GB, free: 2.125 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.5167/0.6885, allocations: 3.359 MB / 1.056 GB, free: 68.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.6889, allocations: 191.7 kB / 1.056 GB, free: 68.27 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.689, allocations: 85.91 kB / 1.056 GB, free: 68.26 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.6891, allocations: 29.58 kB / 1.056 GB, free: 68.26 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.6891, allocations: 41.48 kB / 1.056 GB, free: 68.21 MB / 1.01 GB Notification: Performance of pre-optimization done (n=36): time 2.806e-06/0.6891, allocations: 0 / 1.056 GB, free: 68.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=38): time 0.001425/0.6905, allocations: 0.6911 MB / 1.057 GB, free: 68.04 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.6906, allocations: 54 kB / 1.057 GB, free: 67.98 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005714/0.6911, allocations: 0.6753 MB / 1.058 GB, free: 67.8 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.6912, allocations: 33.08 kB / 1.058 GB, free: 67.77 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.6914, allocations: 0.5799 MB / 1.058 GB, free: 67.52 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.6915, allocations: 146.4 kB / 1.058 GB, free: 67.45 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.6917, allocations: 134.8 kB / 1.059 GB, free: 67.41 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.6918, allocations: 0.5638 MB / 1.059 GB, free: 66.92 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.6919, allocations: 60.12 kB / 1.059 GB, free: 66.92 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.6921, allocations: 372.8 kB / 1.059 GB, free: 66.56 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005332/0.6926, allocations: 0.5315 MB / 1.06 GB, free: 66.26 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.6926, allocations: 0 / 1.06 GB, free: 66.26 MB / 1.01 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005546/0.6932, allocations: 439 kB / 1.06 GB, free: 66.19 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6932, allocations: 7.594 kB / 1.06 GB, free: 66.19 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6932, allocations: 5.75 kB / 1.06 GB, free: 66.19 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.6932, allocations: 8.562 kB / 1.06 GB, free: 66.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.6935, allocations: 142.4 kB / 1.061 GB, free: 66.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6935, allocations: 15.78 kB / 1.061 GB, free: 66.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004048/0.6939, allocations: 46.28 kB / 1.061 GB, free: 66.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.694, allocations: 29.14 kB / 1.061 GB, free: 66.18 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0002701/0.6943, allocations: 195.2 kB / 1.061 GB, free: 66.02 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.6944, allocations: 90.16 kB / 1.061 GB, free: 65.98 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.068e-05/0.6944, allocations: 78.95 kB / 1.061 GB, free: 65.96 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.6945, allocations: 2.906 kB / 1.061 GB, free: 65.96 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6945, allocations: 0 / 1.061 GB, free: 65.96 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002602/0.6947, allocations: 0.491 MB / 1.062 GB, free: 65.52 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.696, allocations: 1.051 MB / 1.063 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.696, allocations: 3.812 kB / 1.063 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.6963, allocations: 85.09 kB / 1.063 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.6963, allocations: 10.28 kB / 1.063 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.6963, allocations: 12.84 kB / 1.063 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.6963, allocations: 5.781 kB / 1.063 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.6963, allocations: 9.078 kB / 1.063 GB, free: 65.05 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004994/0.6968, allocations: 0.6071 MB / 1.063 GB, free: 64.62 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.697, allocations: 123.1 kB / 1.063 GB, free: 64.58 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.6971, allocations: 19.39 kB / 1.063 GB, free: 64.58 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/0.6973, allocations: 25.91 kB / 1.063 GB, free: 64.58 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.6974, allocations: 41.27 kB / 1.063 GB, free: 64.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.6974, allocations: 26.44 kB / 1.063 GB, free: 64.57 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002551/0.6977, allocations: 398 kB / 1.064 GB, free: 64.44 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6977, allocations: 3.875 kB / 1.064 GB, free: 64.44 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007004/0.6984, allocations: 258.5 kB / 1.064 GB, free: 64.44 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0002801/0.6986, allocations: 163.7 kB / 1.064 GB, free: 64.35 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.699, allocations: 265.3 kB / 1.065 GB, free: 64.33 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.699, allocations: 2.688 kB / 1.065 GB, free: 64.33 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.758e-05/0.6991, allocations: 112.8 kB / 1.065 GB, free: 64.32 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.7003, allocations: 450.9 kB / 1.065 GB, free: 64.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.7027, allocations: 1.628 MB / 1.067 GB, free: 63.44 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.7029, allocations: 239.3 kB / 1.067 GB, free: 63.36 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007014/0.7036, allocations: 132.8 kB / 1.067 GB, free: 63.35 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007265/0.7043, allocations: 434.1 kB / 1.067 GB, free: 63.29 MB / 1.01 GB Notification: Performance of SimCode: time 3.587e-06/0.7044, allocations: 0.6562 kB / 1.067 GB, free: 63.29 MB / 1.01 GB Notification: Performance of Templates: time 0.02632/0.7307, allocations: 16.75 MB / 1.084 GB, free: 61.88 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.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.724088101647794]